[Webkit-unassigned] [Bug 16754] New: Date.UTC() didn't do proper 1900 year offsetting (Acid3 bug)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 5 14:26:22 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16754

           Summary: Date.UTC() didn't do proper 1900 year offsetting (Acid3
                    bug)
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


Date.UTC() didn't do proper 1900 year offsetting (Acid3 bug)

    function () {
      // test 91: Date and years and subtracting -1900?
      var d1 = new Date(Date.UTC(99.9, 6));
      assert(d1.getUTCFullYear() == 99, "Date.UTC() didn't do proper 1900 year
offsetting");
      var d2 = new Date(98.9, 6);
      assert(d2.getFullYear() == 1998, "new Date() didn't do proper 1900 year
offsetting");
      return 6;
    },


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