Intl.js icon indicating copy to clipboard operation
Intl.js copied to clipboard

Get date format of a locale

Open JulianMeinhardt opened this issue 7 years ago • 3 comments

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?

JulianMeinhardt avatar May 24 '17 15:05 JulianMeinhardt

+1

rodneyrd avatar Aug 23 '18 15:08 rodneyrd

The current standard does not provided this kind of public function.

ghostd avatar Aug 23 '18 16:08 ghostd

Didn't know that. Thank you very much anyway!

rodneyrd avatar Aug 24 '18 07:08 rodneyrd