-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix date/time format in imagery and history tools #4594
Comments
Also noticed the history tool (ctrl + shift + H) has the same problem:
Again this should default to ISO 8601, i.e. 2017-11-29, 22:10:28 |
Oh interesting - I specifically used iD/modules/renderer/background_source.js Lines 11 to 16 in 5e19c93
Is your operating system or browser locale set to This is a tricky thing to get right in a client side JavaScript app, but I think in all modern browsers I can pass the user's locale to |
I have everything set as en-gb. I've just tested it in Chrome and it works fine - so seems like it's a Firefox problem. 😒 Edge also works with the test below. https://codepen.io/ssohjiro/pen/BygXox - change one of the options to en-GB and it should give you 13/04/2015. If your language is en-GB and you remove the country code altogether it remains the same in Chrome. But with Firefox it goes back to 4/13/2015. |
I've adjusted the date and time formats a little to include the short month (less ambiguous), and I'm now passing the current locale to I think it's good! en-US:en-GB:de-DE: |
Nice, thanks! |
The Esri imagery in my area is much newer than Bing so I used ctrl + shift + B to check its date. It says:
I thought it was a bit strange, as it was clearly not February since there is an annual summer fairground in the imagery!
Please can you change this to an unambiguous date format which can be understood by those outside the USA 😉 Preferably ISO 8601, i.e. 2016-06-02, thanks.
The text was updated successfully, but these errors were encountered: