mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 23:24:22 +01:00
feat(reader): display article publication date
- Add published field to ReadableContent interface - Pass published date from article loader through component chain - Display formatted publication date in ReaderHeader with calendar icon - Format date as 'MMMM d, yyyy' using date-fns
This commit is contained in:
@@ -107,6 +107,7 @@ const ThreePaneLayout: React.FC<ThreePaneLayoutProps> = (props) => {
|
||||
markdown={props.readerContent?.markdown}
|
||||
image={props.readerContent?.image}
|
||||
summary={props.readerContent?.summary}
|
||||
published={props.readerContent?.published}
|
||||
selectedUrl={props.selectedUrl}
|
||||
highlights={props.classifiedHighlights}
|
||||
showHighlights={props.showHighlights}
|
||||
|
||||
Reference in New Issue
Block a user