Closed Bug 140294 Opened 22 years ago Closed 16 years ago

Unlocalised Date/Time format returned

Categories

(Core :: Internationalization, defect, P4)

x86
Windows 2000
defect

Tracking

()

RESOLVED DUPLICATE of bug 153586

People

(Reporter: rsmyth, Assigned: smontagu)

Details

(Keywords: intl)

Attachments

(4 files)

This bug was logged against German MachV Beta.
http://bugscape.netscape.com/show_bug.cgi?id=14339
This is on German Windows 2000 with German regional settings.
*** change your PC's system date to 2001 *** 

- start German Mach 5 (2002-04-22)
- open  http://www.compuserve.de/pin
- warning message appears: "Server-Zertifikat noch nicht gültig" (not valid yet)
"Bitte überprüfen Sie, ob Zeit und Datum (derzeit Wednesday, November 28, 2001 
13:45:07) auf Ihrem Computer korrekt eingestellt sind."

***Result:
Date is not localized.

***Expected:
Date should be localized 
(with the correct date format: in this case: Mittwoch, 28. November 2001)
Keywords: intl, l12y
Summary: Unlocalised Date/Time format → Unlocalised Date/Time format returned
Reassigning
Assignee: ssaux → kairo
Component: Client Library → German-Austria/de-AT
Product: PSM → Browser Localizations
QA Contact: junruh → Sebastian
Version: 2.1 → unspecified
This is definately no Bug in Mozilla German component, as MachV is surely not
Mozilla German. It looks like a Mozilla L12y issue though, reassigning to
Localization component.
This is definately no Bug in Mozilla German component, as MachV is surely not
Mozilla German. It looks like a Mozilla L12y issue though, reassigning to
Localization component.
Assignee: kairo → rchen
Component: German-Austria/de-AT → Localization
Product: Browser Localizations → Browser
QA Contact: Sebastian → ruixu
Version: unspecified → other
QA Contact: ruixu → kasumi
The date could be generated by the page at the server side.
The component should be internationalization not localization.
>*** change your PC's system date to 2001 *** 
why you do so ?

Assignee: rchen → yokoyama
Component: Localization → Internationalization
QA Contact: kasumi → ruixu
Keywords: l12y
QA Contact: ruixu → kasumi
The date on the PC was changed in order to generate the error message, that the
certificate is not valid and requesting the user to check their system date.
The message is from pippki.properties:
serverCertExpiredMsg2=You should check to make sure that your computer's time
(currently set to %S) is correct.
cc tao
assign to l10n
Assignee: yokoyama → rchen
Component: Internationalization → Localization
QA Contact: kasumi → ruixu
taking it back. not l10n issue from ftang's comment.
Assignee: rchen → yokoyama
Component: Localization → Internationalization
QA Contact: ruixu → kasumi
It looks like currDate.toLocaleString() is returning non-German Date.
http://lxr.mozilla.org/seamonkey/source/security/manager/pki/resources/content/serverCertExpired.js#45

according to the JavaScript help, it should return the default date string:
-----------------------------------------
METHOD:  Date::toLocaleString
object.toLocaleString( )

This method uses the relevant locale's date conventions when converting a date
to a string. This is done by using the default date format of the user's
operating system.
--------------------------------------
kasume: can you reproduce this bug?
Yokoyama-san:
Do you have compuserve login ID?
test URL  http://www.compuserve.de/pin is compuserver login page.
I can't obtain that warning page unless I type userID/Password.   
Yes. I can. I will attach the screen capture.
This test is held on 2002-07-17-08-1.0 + language pack JA onWin XP pro.JA SP1 beta.
My date/time format setting is 2001/07/19 H:mm:ss for short.
2001nen07tsuki19hi(in Kanji)H:mm:ss for long.    
Attached image for comment #13
Another case:Please refer attachment
Time/Date setting: Please refer attachment
corrextion attachment comment #13 -> comment #12
Attached image for comment #13
Attached image Date setting
Attached image Time setting
I can reproduce.
Status: UNCONFIRMED → NEW
Ever confirmed: true
estimate effortws 1 day
Priority: -- → P4
estimate 1 day of work
Assignee: yokoyama → ftang
assign
Status: NEW → ASSIGNED
QA Contact: kasumi → marina
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs
for 2 years. And they are still there. Just close them as won't fix to clean up.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Mass Bug Re-Open of bugs Frank Tang Closed with no good reason. Spam is his
fault not my own
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Mass Re-assinging Frank Tangs old bugs that he closed won't fix and had to be
re-open. Spam is his fault not my own
Assignee: ftang → nobody
Status: REOPENED → NEW
Filter on "Nobody_NScomTLD_20080620"
Assignee: nobody → smontagu
QA Contact: marina → i18n
Status: NEW → RESOLVED
Closed: 19 years ago16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: