[Bug 752007] [NEW] javascript toLocaleDateString output format YY-MM-YYYY
Phil Duby
752007 at bugs.launchpad.net
Tue Apr 5 22:25:42 UTC 2011
Public bug reported:
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
** Affects: firefox (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/752007
Title:
javascript toLocaleDateString output format YY-MM-YYYY
More information about the Ubuntu-mozillateam-bugs
mailing list