Intl.js
Intl.js copied to clipboard
Get date format of a locale
Hi,
we are using intl (or to be more specific reat-intl) in our current project. At the moment I'm trying to get a date time format pattern (e.g.. 'DD/MM/YYYY' or 'DD.MM.YYYY') from intl for our current locale. But i cant find a way, i saw that you can add your own locale but couldnt find a way to access the stored locale data. Is there an option to get those information?
+1
The current standard does not provided this kind of public function.
Didn't know that. Thank you very much anyway!