shal19 / datejs

Automatically exported from code.google.com/p/datejs
Other
0 stars 0 forks source link

Date.toString() is not working correctly under Android 3.2 (and other 3.x Versions) #149

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start up AVD with Android 3.2
2. Start Browser and activate Debug-Mode (for Javascript console, enter 
about:debug)
3. Open a document (e.g. index.html) loading the date-de-DE.js or any other 
file and overloading the Date-object
4. In Console, enter
 console.log(Date.parse('2012-04-12 20:00:00').toString('d. MMMM yyyy'))
What is the expected output? What do you see instead?
Expected: 12. April 2012
Seen: d. April 2012
Whats working:
 console.log(Date.parse('2012-04-12 20:00:00').toString('dd. MMMM yyyy'))
Seen: 12. April 2012

In other versions of androidos (e.g. 2.2) its working as expected.

What version of the product are you using? On what operating system?
Android 3.2 as a AVD

Original issue reported on code.google.com by th.von.h...@gmx.de on 21 Apr 2012 at 8:55