[Webkit-unassigned] [Bug 14176] Some date values not handled consistently with IE/Firefox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 10 19:34:24 PDT 2008


------- Comment #1 from dgatwood at mac.com  2008-04-10 19:34 PDT -------

I just ran into a very closely related bug in an existing website that probably
subtly impacts a lot of other websites as well.  The following script should
show exactly the same date in both cases, and in FireFox and IE, it does.  In
Safari, it subtracts four minutes instead of four hours!

Please spend some time on the date parser and fix these issues....

<script language="javascript" type="text/javascript">
        var mydate = new Date("4/13/2008 12:00 AM GMT-4");
        var mydate_b = new Date("4/13/2008 12:00 AM GMT-0400");

        document.write(mydate + ' = ' + mydate_b);

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

More information about the webkit-unassigned mailing list