Commit 5e5f5b56 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 33815

parent 47c57da9
......@@ -472,7 +472,7 @@ Date.prototype.getExcelDate = function () {
return Math.floor( this.getExcelDateWithTime() );
};
Date.prototype.getExcelDateWithTime = function () {
Date.prototype['getExcelDateWithTime'] = Date.prototype.getExcelDateWithTime = function () {
// return Math.floor( ( this.getTime() / 1000 - this.getTimezoneOffset() * 60 ) / c_sPerDay + ( AscCommonExcel.c_DateCorrectConst + (bDate1904 ? 0 : 1) ) );
var year = this.getUTCFullYear(), month = this.getUTCMonth(), date = this.getUTCDate(), res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment