mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-22 14:58:16 +00:00
[Glitch] Fix featured hashtags not showing year for date in web UI
Port 3159f3b2f6 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user