[Webkit-unassigned] [Bug 92782] New: Error in Date.setMonth()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 12:10:38 PDT 2012


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

           Summary: Error in Date.setMonth()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rgunnyon at tru.ca


There is an error in setMonth that seems to crop up on even numbered months.

This is taken from the console of the nightly build:

d=new Date()
Tue Jul 31 2012 11:32:27 GMT-0700 (Pacific Daylight Time)
d.getMonth()
6
d.setMonth(8)
1349116347499
d
Mon Oct 01 2012 11:32:27 GMT-0700 (Pacific Daylight Time)
d.setMonth(8)
1346524347499
d
Sat Sep 01 2012 11:32:27 GMT-0700 (Pacific Daylight Time)

Setting the month to the same value twice had an incorrect setting first, then the correct setting.

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