We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9624bac commit 5191eb3Copy full SHA for 5191eb3
src/components/StoriesList.js
@@ -96,6 +96,16 @@ const StoriesList = (props) => {
96
<small>Category</small>
97
<span className='category-text'>{story.Category}</span>
98
</div>
99
+ <div className='flex flex-column story-subcontent'>
100
+ <small>Created At</small>
101
+ <span className='category-text'>
102
+ {new Date(story.createdAt).toLocaleDateString(undefined, {
103
+ year: 'numeric',
104
+ month: 'long',
105
+ day: 'numeric'
106
+ })}
107
+ </span>
108
+ </div>
109
<div className='flex flex-column s-metas'>
110
<span className='story-meta'>
111
<EOS_ATTACHMENT className='eos-icons' />
0 commit comments