[Glitch] Fix featured hashtags not showing year for date in web UI
Port 3159f3b2f6ed444d4f247c5e7864e4c41ca285df to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
e892521cc9
commit
a6d7663e97
@ -42,6 +42,7 @@ export const FeaturedTag: React.FC<FeaturedTagProps> = ({ tag, account }) => {
|
|||||||
date: intl.formatDate(tag.get('last_status_at') ?? '', {
|
date: intl.formatDate(tag.get('last_status_at') ?? '', {
|
||||||
month: 'short',
|
month: 'short',
|
||||||
day: '2-digit',
|
day: '2-digit',
|
||||||
|
year: 'numeric',
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
: intl.formatMessage(messages.empty)
|
: intl.formatMessage(messages.empty)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user