Mail/News: Date Time in English format in changed quote start

RESOLVED FIXED in mozilla1.2alpha


MailNews Core
16 years ago
9 years ago


(Reporter: Ansgar Schrage, Assigned: nhottanscp)



Windows NT

Firefox Tracking Flags

(Not tracked)



(1 attachment)



16 years ago
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:

Comment 1

16 years ago
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.
Assignee: kairo → rchen
Component: German-Austria/de-AT → Localization
Product: Browser Localizations → MailNews
QA Contact: Sebastian → ji
Version: unspecified → other

Comment 2

16 years ago
My OS is set to use the German time format by default.

Comment 3

16 years ago
Confirmed with the latest branch build.
Component: Localization → Internationalization
Ever confirmed: true
Keywords: intl

Comment 4

16 years ago
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.

Comment 5

15 years ago
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

Comment 6

15 years ago
Assignee: rchen → nhotta

Comment 7

15 years ago
Created attachment 91731 [details] [diff] [review]
Changed a deafult value of "mailnews.reply_header_locale" from "en-US" to empty.


15 years ago
Target Milestone: --- → mozilla1.2alpha

Comment 8

15 years ago
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!

Comment 9

15 years ago
Ray, could you review the patch?

Comment 10

15 years ago
*** Bug 160346 has been marked as a duplicate of this bug. ***

Comment 11

15 years ago
Comment on attachment 91731 [details] [diff] [review]
Changed a deafult value of "mailnews.reply_header_locale" from "en-US" to empty.

Attachment #91731 - Flags: review+

Comment 12

15 years ago
Comment on attachment 91731 [details] [diff] [review]
Changed a deafult value of "mailnews.reply_header_locale" from "en-US" to empty.

Attachment #91731 - Flags: superreview+

Comment 13

15 years ago
checked in to the trunk
Last Resolved: 15 years ago
Resolution: --- → FIXED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.