Describe the bug
Dates on event cards are not being formatted using intl locale.
To reproduce
- Go to https://ethereum.org/zh/community/events/
- Notice date format in event cards compared to date at the top of the page.
Expected behavior
Despite the contents of these cards not being translated into other languages, I would expect these dates to be rendered according to the locale.
The Intl.DateTimeFormat
should be used by passing the current locale and the date to render accordingly.
Screenshots
<img width="866" alt="image" src="https://github.com/ethereum/ethereum-org-website/assets/54227730/7462d64f-361f-415b-9892-8e4b1a784ae7">Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional context
No response
Would you like to work on this issue?
- [ ] Yes
- [X] No