Closed Bug 246905 Opened 21 years ago Closed 20 years ago

Expired Certificate shows inconsistent Date and Time

Categories

(Core Graveyard :: Security: UI, defect)

Other Branch
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cnst+bmo, Assigned: cnst+bmo)

References

Details

(Keywords: intl)

Attachments

(2 files)

Expired Certificate alert shows inconsistent Date and Time. The problem is that <http://lxr.mozilla.org/mozilla/source/security/manager/pki/resources/content/serverCertExpired.js> uses .toLocaleString() JS-function (bug 153586), while some other C++ part of the same dialogue uses nsIDateTimeFormat. Function .toLocaleString() shows date in the long date format, while other parts of the PSM UI use short date format. The solution is to fix serverCertExpired.js to use nsIDateTimeFormat, and to use kDateFormatShort as the format for the date. I'll try to work on a patch sometime soon.
Blocks: dateandtime
Status: NEW → ASSIGNED
Attached image screen-shot
Blocks: 182552
Attachment #153483 - Flags: review?(jgmyers)
Attachment #153483 - Flags: review?(jgmyers) → review+
Attachment #153483 - Flags: superreview?(brendan)
Comment on attachment 153483 [details] [diff] [review] the patch for serverCertExpired.js sr=brendan@mozilla.org /be
Attachment #153483 - Flags: superreview?(brendan) → superreview+
Product: PSM → Core
I checked this in with Kaie's approval. Thank you, Constantine.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Should we get this on 1.8 branch?
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: