Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Get date format of a locale #280

Open
JulianMeinhardt opened this issue May 24, 2017 · 3 comments
Open

Get date format of a locale #280

JulianMeinhardt opened this issue May 24, 2017 · 3 comments

Comments

@JulianMeinhardt
Copy link

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?

@bbbouvier
Copy link

+1

@ghostd
Copy link

ghostd commented Aug 23, 2018

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

@bbbouvier
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants