captbaritone / captbaritone/datejs

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

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.