Today I learnt:
You actually have to reinstall firefox using a different download to get
Date(dateString) to use a different date format (i.e. non-US).
This method should not be used, since it relies on the
new Dateconstructor, which behaves very differently across browsers and locales. Use
dateISOinstead or one of the locale specific methods (in localizations/ and additional-methods.js).
choco install Firefox -packageParameters "l=en-GB".
Reinstalling the package with
--force is sufficient to change it.
It would seem chrome has no way change the format from
To be clear the correct solution is to do as the documentation says and not use that method, however it’s a bit mean having a pitfall like that in the API. And sometimes you just have to work with the code you have…