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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 14 23:15:38 PST 2009


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





--- Comment #7 from rahul abrol <ra4ul at comcast.net>  2009-12-14 23:15:37 PST ---
Created an attachment (id=44848)
 --> (https://bugs.webkit.org/attachment.cgi?id=44848)
patch to handle dd/mm/yyyy format

this seems to work, if someone wants to write the testcase for it.  it assumes
mm/dd/yyyy format unless 12 < month < 32, in which case it assumes dd/mm/yyyy.

this is how opera handles it.  firefox 3.5 just adds on the extra months, so
27/12/2009 is parsed as dec 12 2009 + 15 months = mar 12 2011.

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