mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
(cherry picked from commit 26cf1cdb2c30c45150cc1627f2c6297e99bb5221)
This commit is contained in:
parent
ce18bc8d1a
commit
7059464bcb
@ -161,10 +161,9 @@ define(function (require) {
|
||||
}
|
||||
|
||||
function _setup(context) {
|
||||
var today = new Date();
|
||||
var dd = today.getDate();
|
||||
var mm = today.getMonth() + 1;
|
||||
var yyyy = today.getFullYear();
|
||||
var dd = newDate.getDate();
|
||||
var mm = newDate.getMonth() + 1;
|
||||
var yyyy = newDate.getFullYear();
|
||||
if (dd < 10) {
|
||||
dd = "0" + dd;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user