desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #69178
[Bug 752007] Re: javascript toLocaleDateString output format YY-MM-YYYY
Got that new VM created.
Works just fine:
Ubuntu 11.10 and FF 9.0.1 with latest updates
$echo $LANG
en_US.UTF-8
$ echo $LANGUAGE
## blank ##
VERY strong indication that the problem is related to locale information. en_CA fails, en_US works.
Anyone have an idea about what 'package' this really belongs with? I could put it under one of the javascript packages instead of firefox, but it really belongs to a lower level. I just do not know which underlying library toLocaleDateString belongs to or calls. I add javascript and locales.
Sigh ... Something ELSE that should be in my web application cross
browser / cross OS internationalization testing, but is just too big to
be reasonable.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/752007
Title:
javascript toLocaleDateString output format YY-MM-YYYY
Status in “firefox” package in Ubuntu:
Confirmed
Status in “javascript-common” package in Ubuntu:
New
Status in “langpack-locales” package in Ubuntu:
New
Bug description:
Binary package hint: firefox
Ubuntu 10.04 LTS - Lucid Lynx
package: firefox : Firefox 3.6.16
Locale: Lang en_CA
echo $LANG en_CA.utf8
echo $LANGUAGE en_CA:en_GB:en_IE: ...
no overrides in /etc/environment
A sample javascript generated calendar was displaying all of the day numbers as '11'. Some testing with a range of dates shows that the toLocaleDateString() method is showing all dates in YY-MM-YYYY format. Other date formating methods: toDateStriing, toLocaleString, toUTCString give correct results.
*probably* this is a problem with the default locale settings, but I do not know how to find out what 'package' that is, or how to use an alternate path (outside firefox) to verify that. All of the other ubuntu date text that I can 'see' are correct, but [from formatting] appear to be using one of the other locale specific methods and formats
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/752007/+subscriptions