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.

Mozilla 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

print page footer format &D date format

  • 2 प्रत्युत्तर
  • 1 यह समस्या है
  • 3 views
  • के द्वारा अंतिम प्रतियुतर 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)

All Replies (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?