Closed Bug 1927348 Opened 3 months ago Closed 2 months ago

Use Intl.DateTimeFormat in cZ's strftime function

Categories

(SeaMonkey :: Chat, enhancement)

enhancement

Tracking

(seamonkey2.53? affected)

RESOLVED FIXED
Tracking Status
seamonkey2.53 ? affected

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.20)

Attachments

(2 files)

At the moment chatZilla has it's only localisations for weekdays, months and AM/PM. This can be avoided by making use of Intl.DateTimeFormat
At the same time:

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: potential inconsistency of localisation between cZ and other parts of SM
Testing completed (on m-c, etc.): 2.53.20pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: 12 strings removed, 3 strings added

Attachment #9433548 - Flags: review?(frgrahl)
Attachment #9433548 - Flags: approval-comm-release?

I think if you use the user locale it will not honor the users prefs / OS regional settings. Maybe use undefined but not really important here. Maybe we should drop the whole pref and format dates like its done in the mail part.

Attachment #9440925 - Flags: feedback?(iannbugzilla)

Comment on attachment 9433548 [details] [diff] [review]
1927348-irc-strftime-25320.patch

lgtm r/a+
See addendum patch for further testing. Not important. Just lets get 2.53.20b1 out of the door.

Attachment #9433548 - Flags: review?(frgrahl)
Attachment #9433548 - Flags: review+
Attachment #9433548 - Flags: approval-comm-release?
Attachment #9433548 - Flags: approval-comm-release+
Whiteboard: SM2.53.20

Comment on attachment 9440925 [details] [diff] [review]
1927348-irc-strftime-addendum-25321.patch

[Triage Comment]
I'd already consider this but was waiting on review comments... r/a=me

Attachment #9440925 - Flags: review+
Attachment #9440925 - Flags: feedback?(iannbugzilla)
Attachment #9440925 - Flags: approval-comm-release+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/bcde333a18eb
Use Intl.DateTimeFormat in cZ's strftime function. r=frg

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: