Commit dc028166 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32294

parent 79455927
......@@ -1184,7 +1184,7 @@
cNOW.prototype.Calculate = function () {
var d = new Date();
this.value = new cNumber(d.getExcelDate() +
(d.getUTCHours() * 60 * 60 + d.getUTCMinutes() * 60 + d.getUTCSeconds()) / c_sPerDay);
(d.getHours() * 60 * 60 + d.getMinutes() * 60 + d.getSeconds()) / c_sPerDay);
this.value.numFormat = 22;
return this.setCA(this.value, true);
};
......
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