Closed Bug 176785 Opened 23 years ago Closed 23 years ago

JavaScript toLocaleString() method doesn't work

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 153586

People

(Reporter: amyy, Assigned: rogerl)

Details

(Keywords: intl)

Attachments

(2 files)

Build: 10-25 trunk and branch build. Steps to reproduce: 1. Write a html page that contains a JavaScript with toLocaleString() method. - I'll attach the test cases for Date and Number objects. 2. Load the pages in browser window, notice their format. 3. Go to Control Panel | Region and Language settings, change them to some other languages, e.g. German or Chinese...etc. 4. Reload the pages again. Result: The display won't be changed following by the region and language settings in Control Panel, e.g. in German locale, the number should be displayed as 1.234,57 instead of 1234.5678; and date format should be: Freitag, 25. Oktober 2002 14:19:47 instead of Friday, October 25, 2002 14:19:47. This method works properly in IE.
Change component from itnl to JavaScript engine for now.
Component: Internationalization → JavaScript Engine
Keywords: intl
QA Contact: ruixu → ylong
reassign to default owner.
Assignee: yokoyama → rogerl
QA Contact: ylong → pschwartau
Thank you for this report; but this has already been filed; see these bugs: bug 61184 Date.prototype.toLocale___String() functions : GMT error bug 83092 Date.toLocaleString() should return a Unicode string bug 153586 Date.prototype.toLocaleString ( ) not implemented correctly bug 165200 Number.toLocaleString() returns incorrect value *** This bug has been marked as a duplicate of 153586 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Marking Verified. Yuying: thank you for this report; you have been cc'ed on bug 153586, and may want to cc yourself on the other bugs as well -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: