I am trying to understand how the JavaScript running in the various browsers determines the locale that will be used by the JavaScript Date object when using the method toLocaleString().
I have changed the language and locale settings of my system through Windows control panel and I have also changed every browser’s language settings to the same. The function still returned an English date.
Is there a registry setting on windows that you have to manually set? Did I miss some setting somewhere? Or do I have to get a Windows install disc for particular regions?
A great article from one of my favourite blogs on JScript’s behavior:
and
https://blogs.msdn.com/ericlippert/archive/2004/05/18/jscript-localization-and-those-wacky-newfoundlanders.aspx
And from the MDC (Mozilla Developer Center):