搜索 | 用户支持

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

详细了解

Interantional date display

  • 2 个回答
  • 0 人有此问题
  • 22 次查看
  • 最后回复者为 Levo78

more options

Hi, The date format in the email list (e.g. inbox) seems to be hardcoded to US format, ie mm/dd/yy. I have set the Date and Time Formatting under Settings/General to Application locale: English (united Kingdom) with no effect (second attachment). I then went to the Advanced Preferences and changed the intl.date_time.pattern_override.date_short to dd-mm-yyyy and this did change the dates but it is completely messed up now with dates like 07-45-2023. (First attachment). I deleted the extra parameter intl.date_time.pattern_override.date_short and it all went back to standard US format (second attachment) I am not sure what other option I have. Please advise if I missed something. Many Thanks, Levent

Hi, The date format in the email list (e.g. inbox) seems to be hardcoded to US format, ie mm/dd/yy. I have set the Date and Time Formatting under Settings/General to Application locale: English (united Kingdom) with no effect (second attachment). I then went to the Advanced Preferences and changed the intl.date_time.pattern_override.date_short to dd-mm-yyyy and this did change the dates but it is completely messed up now with dates like 07-45-2023. (First attachment). I deleted the extra parameter intl.date_time.pattern_override.date_short and it all went back to standard US format (second attachment) I am not sure what other option I have. Please advise if I missed something. Many Thanks, Levent
已附加屏幕截图

所有回复 (2)

more options

Dates follow the operating system locale. It is most certainly not hard coded. Being force fed mm-DD date formats would have this Aussie firing chips at all Mozilla and Mzla employees that poked their heads up. Interestingly these types of questions most often come from Linux users where open source has led to setting a system locale being a chore and setting such details in your chosen windowing environment does not necessarily affect the system locale.

I suggest you check with your distribution how to check your locale and set it, including the date formats.

more options

Thanks Matt. You are right, I do use Ubuntu. I quickly checked and there seems to be a discrepancy between the GUI (I was using to set the locale parameters) and the output of the "locale" command. I will follow up with the Ubuntu forums and report my findings. Cheers, Levent