Skip to content

Commit ef7403c

Browse files
committed
feat: home add CreatedAt
1 parent d993e1f commit ef7403c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/home/article/Article.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ export default function ArticleSection() {
145145
{article.author || t('homepage.articles.unknownAuthor')}
146146
</div>
147147

148+
<div className={styles.articleInfoItem}>
149+
<Calendar className={styles.articleIcon} />
150+
{formatTime(article.CreatedAt)}
151+
</div>
152+
148153
<div className={styles.articleInfoItem}>
149154
<BookOpen className={styles.articleIcon} />
150155
{article.readingTime || 6} {t('homepage.articles.readingTime')}

0 commit comments

Comments
 (0)