Replies: 1 comment 2 replies
-
I believe the type for {
formats: {
time: {
myCustomFormat: { hour12: true}
}
}
}
intl.formatTime(ts, {format: myCustomFormat}); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I stumbled upon issue with formatting time h12 vs h24 on default, so I though i would just set it globally like this: (according to documentation):
but when i use it somewhere inside with:
formats settings for IntlProvider doesnt seem to be taken into consideration. Do i miss something?
Beta Was this translation helpful? Give feedback.
All reactions