Replies: 1 comment 1 reply
-
You can pass a locale to many functions in the library, including https://date-fns.org/v2.25.0/docs/I18n |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
date-fns
and I would like to display dates as per user’s selected locale (language+region) for example: “Jan 12, 2021” for en_US or “12 Jan 2021.” for en_CA., There is a way to achieve this withdate-fns
?Beta Was this translation helpful? Give feedback.
All reactions