File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ export abstract class Story<ANS extends ANSContent = Types.Story.AStory> extends
2828 const id = await this . arcId ( ) ;
2929 const version = this . version ( ) ;
3030 const type = this . type ( ) ;
31- const publicationDate = this . getPublicationDate ( ) ;
31+ const publicationDate = await this . getPublicationDate ( ) ;
32+ const displayDate = await this . getDisplayDate ( ) ;
3233 const headlines = this . getHeadlines ( ) ;
3334 const subheadlines = this . getSubheadlines ( ) ;
3435 const description = this . getDescription ( ) ;
@@ -76,7 +77,7 @@ export abstract class Story<ANS extends ANSContent = Types.Story.AStory> extends
7677 created_date : this . formatDate ( new Date ( ) ) ,
7778 first_publish_date : this . formatDate ( publicationDate ) ,
7879 publish_date : this . formatDate ( publicationDate ) ,
79- display_date : this . formatDate ( this . getDisplayDate ( ) ) ,
80+ display_date : this . formatDate ( displayDate ) ,
8081 source,
8182 comments,
8283 taxonomy : {
You can’t perform that action at this time.
0 commit comments