Closed
Bug 565454
Opened 16 years ago
Closed 16 years ago
Use standard localized date formatter in TP experiment page
Categories
(Mozilla Labs Graveyard :: Test Pilot, defect, P2)
Mozilla Labs Graveyard
Test Pilot
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: jono, Assigned: raymondlee)
References
Details
(Whiteboard: extension-core, localization, needs-review)
Attachments
(1 file)
|
5.87 KB,
patch
|
Details | Diff | Splinter Review |
In experiment-page.js, in getTestEndingDate, we should really be using a
standard localized date formatting function rather than doing our own with
arrays of day names and month names.
Priority: -- → P2
Whiteboard: extension-core, localization
Target Milestone: 0.1 → 1.0
| Assignee | ||
Comment 1•16 years ago
|
||
Do you mean you want to replace the current code with the toLocaleString() method? https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Date/toLocaleString
Looks like the toLocaleString() returns a date string which doesn't contain the day name.
I think that toLocaleString() would be fine, yes. Not having the day name isn't that big a deal.
| Assignee | ||
Comment 3•16 years ago
|
||
Whiteboard: extension-core, localization → extension-core, localization, needs-review
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•