From Bugzilla Helper German: proposed Product: Browser+Localizations proposed Component: German-Austria/de-AT User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.0rc1) Gecko/20020417 BuildID: 2002041711 When you change your prefs.js to change the beginning of a quote in a reply eMail in the following way: user_pref("mailnews.reply_header_ondate", "Am %s"); user_pref("mailnews.reply_header_separator", ", "); user_pref("mailnews.reply_header_authorwrote", "%s schrieb"); user_pref("mailnews.reply_header_colon", ":"); user_pref("mailnews.reply_header_type", 2); the displayed time and date are in English format. Reproducible: Always Actual Results: Am 4/28/02 5:29 PM, Ansgar Schrage schrieb: > Expected Results: Am 28.04.02 17:29, Ansgar Schrage schrieb: >
What time format does your OS use by default? I once heard we would default to OS settings for such things. Not sure though, over to MailNews.
My OS is set to use the German time format by default.
Confirmed with the latest branch build.
To be exact, the format of "4/28/02 5:29 PM" is the American format. And I also experience this problem. I'm using RC2 no Win2000. My locale in Windows is set to English (UK), as such my date and time should come out like "28/04/02 17:29", but I also see the American string as reported. In testing, I changed my locale back to English (US), and I then specifically tweaked the date/time format within the Regional Settings Control Panel. Mozilla picked up these changes properly. Of course, this made other programs unusable for me, so I had to revert back. So, IMHO, the problem is that the locale settings are only being read if the locale is set to English (US), otherwise the settings are ignored, and a default of US is being applied.
I've had exactly the same experience as Dave Roberts above (except that I'm using a different build). However, I managed to fix it with this line in my user.js: user_pref("mailnews.reply_header_locale", "en-GB"); Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/2002061104
Created attachment 91731 [details] [diff] [review] Changed a deafult value of "mailnews.reply_header_locale" from "en-US" to empty.
I checked it on my PC by adding the line 'user_pref("mailnews.reply_header_locale", "");' manually to my prefs.js. Now it looks like this: Am 18.07.2002 12:59, Ansgar Schrage schrieb: And that is what I have expected :-) Good job!
Ray, could you review the patch?
*** Bug 160346 has been marked as a duplicate of this bug. ***
Comment on attachment 91731 [details] [diff] [review] Changed a deafult value of "mailnews.reply_header_locale" from "en-US" to empty. r=rchen
Comment on attachment 91731 [details] [diff] [review] Changed a deafult value of "mailnews.reply_header_locale" from "en-US" to empty. sr=bienvenu
checked in to the trunk