closed #111 fixed convertDataToUTC(); client side date transformation
This commit is contained in:
@@ -1679,7 +1679,7 @@ define([
|
||||
* @returns {Date}
|
||||
*/
|
||||
var convertDateToUTC = function(date) {
|
||||
return new Date(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds());
|
||||
return new Date(date.getUTCFullYear(), date.getUTCMonth() + 1, date.getUTCDate(), date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds());
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user