We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

print page footer format &D date format

  • 2 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 Robert

more options

When printing a page to PDF, with headers & footers, the default setup shows the date in right footer. However this date format is in (for me) awkward US format . Is there a way to show the date according to system regional short date & time ?



info: OS: windows 10 pro

 date format: YYYY-MM-DD
 time format: hh:mm (24-hr)

FF: 120.0.1 (latest to date) FF about:config -> print.print_footerright = &D FF &D format: MM/D/YYYY, h:mm PM (12-hr)

When printing a page to PDF, with headers & footers, the default setup shows the date in right footer. However this date format is in (for me) ''awkward'' US format . Is there a way to show the date according to '''system regional short date & time ?''' ---- info: OS: windows 10 pro date format: YYYY-MM-DD time format: hh:mm (24-hr) FF: 120.0.1 (latest to date) FF about:config -> print.print_footerright = &D FF &D format: MM/D/YYYY, h:mm PM (12-hr)

所有回覆 (2)

more options

Try changing your system locale to a region that has a more desirable short date format. For example, Ireland (en_IE) uses 24 hour DD/MM/YYYY and South Africa (en_ZA) uses 24 hour YYYY/MM/DD. You should see this reflected in "Regional Preferences" in about:support.

more options

Thanks @zeroknight for replying. Found the many regional entries in FF about:support, but I'm unsure where each is to be set, and what each affects.

Selecting a system-wide region to something of what you suggest could probably mess up other applications on my PC, such as spelling check languages, time zone, number formats, daylight-saving dates, etc. But maybe also affect browser searches e.g. South-African local search results?

Windows regional settings does provide fine-grained control about date/time/number/currency formats, which all (most) programs use. Unfortunately, Mozilla/Firefox appears to have some biased ideas of what a certain region is supposed to use. Is that because of its USA roots?

Well, I do live in the Netherlands. So, my proper regional setting is "nl-NL" or just "nl". However, I like to have all my programs in English if I can choose. My keyboard is en-US (not US-international!). My number format is not NL but more en-US or en-GB, except currency (Euro) and Measurement system (metric).

My date format preference (yyyy-MM-dd) is because of sortability and readability, as in never guessing between US month-day-year or Euro day-month-year. At least, big numbers do we all write from most-significant to least-significant (except little-endian computers :-); why not for dates?