-
Hi, We have a set of users in Australia (dd/mm/yyyy date format), when using MS Edge browser, if they select the p-calendar control, dates are returned from primeng code correctly if they happen to select a date that is acceptable for both dd/mm/yyyy format and mm/dd/yyyy format. But, if they happen to select, for example, January 13th, the date returned from PrimeNg is null. The code works correctly for Chrome users. Any ideas? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, Could you please share a stackblitz example so we can clearly identify the issue? |
Beta Was this translation helpful? Give feedback.
-
If I flip my local time settings to Brisbane AU, I do not experience the issue, unfortunately. Only our Edge users in Australia are receiving this error. Can I turn on logging w/i PrimeNG to give provide you with additional information? If I create a stackblitz example, the issue will not be exposed. What is the best approach to expose the issue? |
Beta Was this translation helpful? Give feedback.
Hi,
maybe this helps.
You can change your location and locale in Chrome as follows:
https://developer.chrome.com/docs/devtools/settings/locations/
For example:
Here you can look up the canonical tzdb values for
Australia/*
if you want to try others.https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
For the coordinates just search the city in Google Maps and copy the coordinates from the URL.
The same approach applies to the Chromium based MS Edge browser.