搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

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.

被采纳的解决方案

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

定位到答案原位置 👍 0

所有回复 (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.

由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.

由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

选择的解决方案

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.