You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the localized format plugin to display dates using L which in English Locale is MM/DD/YYYY. Is there a way to get that placeholder to display in the datepicker? For example I would like that to switch to DD/MM/YYYY if someone is using our app in Denmark.
Not sure if this is a thing already or if someone could point me in the right direction.
Using the method longDateFormat('L') from the plugin 'LocaleData' you can get the current format. Datails can be found in the documentation for LocaleData and the section Customize of the documentation.
I am using the localized format plugin to display dates using
L
which in English Locale isMM/DD/YYYY
. Is there a way to get that placeholder to display in the datepicker? For example I would like that to switch toDD/MM/YYYY
if someone is using our app in Denmark.Not sure if this is a thing already or if someone could point me in the right direction.
In moment it looks like they have something to solve this https://stackoverflow.com/questions/37036929/how-to-get-date-format-from-locale
The text was updated successfully, but these errors were encountered: