Format of Date/Time header in Page Setup does not follow Regional Settings format
Hello,
The date and time formats for my regional settings are:
Short date: dd-MM-yyyy Long date: dddd, d MMMM yyyy Short time: HH:mm Long time: HH:mm:ss
I have also set one of the headers in the Page Setup of Firefox to 'Date/Time' and have noticed that when I print a page, Firefox does not take into consideration my regional settings, but uses a standard format instead.
For example, the header is '6/25/2018 11:48 PM'. If the format in my regional settings where followed, the header should be '25-06-2018 23:48'.
I do not know if this is standard behavior or should be reported in order to be fixed. Would anyone please lend a helping hand?
Thank you very much.
All the best, John
PS: Just for reference, Thunderbird follows the regional settings format, when printing.
Wubrane rozwězanje
jscher2000 said
Hi John Pap, I believe Firefox takes its date format cue from the browser's locale instead of the OS locale.and so forth. Is it possible your Firefox locale does not match your Windows locale? You can look it up on the Troubleshooting Information page. Either:
- en-US m/d/y
- en-GB d/m/y
Find the Internationalization & Localization section to confirm the App locale.
- "3-bar" menu button > "?" Help > Troubleshooting Information
- (menu bar) Help > Troubleshooting Information
- type or paste about:support in the address bar and press Enter
Hello jscher2000,
Thank you very much for your reply. The settings are as follows:
Application Settings Requested Locales ["en-US"] Available Locales ["en-US"] App Locales ["en-US"] Regional Preferences ["en-US"] Default Locale "en-US" Operating System System Locales ["en-US"] Regional Preferences ["el-GR"]
However, your answer got me into thinking a bit deeper and so I decided to go 'about:config' and switch the boolean value of 'intl.regional_prefs.use_os_locales' from 'false' to 'true'. And yes, that did the job!
The settings are now the following:
Application Settings Requested Locales ["en-US"] Available Locales ["en-US"] App Locales ["en-US"] Regional Preferences ["el-GR"] Default Locale "en-US" Operating System System Locales ["en-US"] Regional Preferences ["el-GR"]
and now the date/time header is printed according to my regional settings.
Thank you very much for your support.
Regards, John
Toś to wótegrono w konteksće cytaś 👍 0Wšykne wótegrona (7)
Ya, hi, Canadian way of doing it. Please check your Windows 10 to make sure that the time and date is set up that way.
I use a Great Britain Firefox along with a Canadian Dictionary so I am set. And I guess your running a Greek Browser ? Next time that you do a reinstall for what ever reason.
Wót Shadow110
Hello Pkshadow and thank you for your reply.
My Windows 10 show date and time exactly as it is set up in my regional settings.
Windows 10 (64-bit), Firefox and all other software installed on my desktop is en-US.
The only software that displays date/time without taking my regional settings into consideration, is Firefox.
Wót John Pap
Hi, all that I come across so far is of no help as it is too old. All except get GB or AUS browser with US Spell Check.
Someone else will come along for you.
Hi John Pap, I believe Firefox takes its date format cue from the browser's locale instead of the OS locale.
- en-US m/d/y
- en-GB d/m/y
and so forth. Is it possible your Firefox locale does not match your Windows locale? You can look it up on the Troubleshooting Information page. Either:
- "3-bar" menu button > "?" Help > Troubleshooting Information
- (menu bar) Help > Troubleshooting Information
- type or paste about:support in the address bar and press Enter
Find the Internationalization & Localization section to confirm the App locale.
Pkshadow said
Hi, all that I come across so far is of no help as it is too old. All except get GB or AUS browser with US Spell Check. Someone else will come along for you.
Hello Pkshadow,
Even though we didn't reach a solution, I have to thank you for willing to help.
Regards, John
Wubrane rozwězanje
jscher2000 said
Hi John Pap, I believe Firefox takes its date format cue from the browser's locale instead of the OS locale.and so forth. Is it possible your Firefox locale does not match your Windows locale? You can look it up on the Troubleshooting Information page. Either:
- en-US m/d/y
- en-GB d/m/y
Find the Internationalization & Localization section to confirm the App locale.
- "3-bar" menu button > "?" Help > Troubleshooting Information
- (menu bar) Help > Troubleshooting Information
- type or paste about:support in the address bar and press Enter
Hello jscher2000,
Thank you very much for your reply. The settings are as follows:
Application Settings Requested Locales ["en-US"] Available Locales ["en-US"] App Locales ["en-US"] Regional Preferences ["en-US"] Default Locale "en-US" Operating System System Locales ["en-US"] Regional Preferences ["el-GR"]
However, your answer got me into thinking a bit deeper and so I decided to go 'about:config' and switch the boolean value of 'intl.regional_prefs.use_os_locales' from 'false' to 'true'. And yes, that did the job!
The settings are now the following:
Application Settings Requested Locales ["en-US"] Available Locales ["en-US"] App Locales ["en-US"] Regional Preferences ["el-GR"] Default Locale "en-US" Operating System System Locales ["en-US"] Regional Preferences ["el-GR"]
and now the date/time header is printed according to my regional settings.
Thank you very much for your support.
Regards, John
Hi John, thank you for reporting back. I actually never noticed the intl.regional_prefs.use_os_locales preference before. That's fantastic.