Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Format of Date/Time header in Page Setup does not follow Regional Settings format

more options

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.

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.

Chosen solution

jscher2000 said

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.

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

Read this answer in context 👍 0

All Replies (7)

more options

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.

Modified by Shadow110

more options

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.

Modified by John Pap

more options

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.

more options

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.

more options

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

more options

Chosen Solution

jscher2000 said

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.

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

more options

Hi John, thank you for reporting back. I actually never noticed the intl.regional_prefs.use_os_locales preference before. That's fantastic.