[Webkit-unassigned] [Bug 32358] Date object generates error for DD/MM/YYYY dates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 02:04:45 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32358





--- Comment #6 from Estêvão Samuel Procópio <tevaum at gmail.com>  2009-12-10 02:04:44 PST ---
I came back to give me a R- and point the same issue that comment #3 did. I'm
also concerned about dates with days and months in the same, month-valid range.
I'll write some test cases and check it out, but no idea about how to identify,
in this cases, if the date is in MM/DD/YYYY or DD/MM/YYYY. Shouldn't this
parser be using information about the locale of the running system?

About comment #4, well, this date format is used in many countries, including
here in Brazil (see
http://en.wikipedia.org/wiki/Calendar_date#dd.2Fmm.2Fyyyy.2C_dd.mm.yyyy.2C_or_dd-mm-yyyy_.28day.2C_month.2C_year.29
for a list).

And about comment #5, yes. It's for fixing a real issue. I run through this
issue yesterday trying to set the date I used in the example in a web app we're
developping. This form demonstrates the problem, if you want to take a look:
http://void.ufvjm.edu.br/woa2/index.php/date. The validation, which uses new
Date(value), says the date is invalid although it's a real date in my location.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list