recognize iso date without time in datejs

Bug #1283724 reported by Mark Draheim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Not exactly a bug but still a nuisance. Would it be possible for datejs to recognize iso dates without time suffix?

We do Selenium tests and noticed that, when passing an iso date %Y-%m-%d to the client, the date is recognized as

2014-03-01 -> 03. Jan 2014 (incorrect)
2014-03-25 -> 25. Mar 2014 (correct)

This is with ERP language set to German. Iso dates should, however, be language independent. That is why we are passing dates in this format during tests.

The problem can easily be worked around by appending a fake time like 2014-03-01T00:01. Still, an iso date should be correctly recognized as is without a time suffix. Or are there any countries where dates are formatted like iso but with month and day reversed, like yyyy-dd-mm?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.