为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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?