VirtualBox

Changeset 84621 in vbox


Ignore:
Timestamp:
May 31, 2020 3:13:42 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138356
Message:

TestManager/common.js: Date takes a zero based month value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/htdocs/js/common.js

    r84620 r84621  
    208208
    209209    /* Naive? */
    210     var oDate = new Date(Date.UTC(iYear, iMonth, iDay, iHour, iMin, iSec, iMilliseconds));
     210    var oDate = new Date(Date.UTC(iYear, iMonth - 1, iDay, iHour, iMin, iSec, iMilliseconds));
    211211    if (offTime >= sTime.length)
    212212        return oDate;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette