Closed Bug 585612 Opened 14 years ago Closed 14 years ago

date related failures in JS shell in non-standard locales

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 530974

People

(Reporter: paul.biggar, Unassigned)

Details

I'm seeing a large number of date related failures when running reftests using the JS shell. I believe this is due to my locale, which is LANG=en_GB.utf8. However, I can't seem to get rid of them even by setting LANG=C during configure, make or ref-tests. I asked on IRC: jbramley: JavaScript's date API doesn't allow the code to specify the time zone, so it won't work unless you specify an exemplar output for every time zone, or calculate it separately. (Neither case is likely to happen.) jbramley: the test string is really long, and there are many locales. I decided that it wasn't worth the effort, but I would welcome a change. So it looks like it won't be fixed soon, but I'll leave this open for future searchers. Here's the full list: [2786| 42| 181] 100% ===============================================>| 282.7s REGRESSIONS ecma/Date/15.9.3.1-1.js ecma/Date/15.9.3.2-1.js ecma/Date/15.9.3.8-1.js ecma/Date/15.9.3.8-2.js ecma/Date/15.9.5.22-3.js ecma/Date/15.9.5.22-1.js ecma/Date/15.9.5.23-1.js ecma/Date/15.9.5.23-15.js ecma/Date/15.9.5.23-17.js ecma/Date/15.9.5.24-1.js ecma/Date/15.9.5.24-2.js ecma/Date/15.9.5.24-3.js ecma/Date/15.9.5.24-4.js ecma/Date/15.9.5.24-5.js ecma/Date/15.9.5.24-6.js ecma/Date/15.9.5.24-7.js ecma/Date/15.9.5.24-8.js ecma/Date/15.9.5.27-1.js ecma/Date/15.9.5.25-1.js ecma/Date/15.9.5.26-1.js ecma/Date/15.9.5.28-1.js ecma/Date/15.9.5.29-1.js ecma/Date/15.9.5.32-1.js ecma/Date/15.9.5.30-1.js ecma/Date/15.9.5.31-1.js ecma/Date/15.9.5.33-1.js ecma/Date/15.9.5.35-1.js ecma/Date/15.9.5.36-2.js ecma/Date/15.9.5.36-3.js ecma/Date/15.9.5.36-1.js ecma/Date/15.9.5.36-4.js ecma/Date/15.9.5.36-5.js ecma/Date/15.9.5.36-6.js ecma/Date/15.9.5.37-1.js ecma/Date/15.9.5.36-7.js ecma/Date/15.9.5.8.js ecma_3/Date/15.9.5.6.js ecma_5/Date/15.9.4.2.js js1_5/extensions/toLocaleFormat-01.js js1_5/extensions/toLocaleFormat-02.js js1_8/extensions/regress-394709.js js1_8/extensions/regress-422269.js FAIL
FWIW, I've just set my desktop to California time :(
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.