Correct way to get default date format for a locale #3100
Unanswered
KonradLinkowski
asked this question in
Q&A
Replies: 1 comment
-
Hello, i am trying to get the same. I am using angular 14. I have everything working but i could not user your code: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is using
locale.formatLong?.date({ width: 'short' })
a valid way of getting default date format or is it a hack? Because it's not documented, but it works.Or is there a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions