[ve] Add comments

This commit is contained in:
Fedor Kobyakov
2024-12-03 16:44:51 +03:00
parent 926205df25
commit 3104c84b1b
2 changed files with 4 additions and 0 deletions

View File

@ -622,6 +622,7 @@ AscCommonWord.CPresentationField.prototype.private_GetDateTimeFormat = function(
/** @constructor */
function cDate(date) {
// original
var bind = Function.bind;
var unbind = bind.bind(bind);
var date = new (unbind(Date, null).apply(null, arguments));
@ -630,6 +631,7 @@ function cDate(date) {
}
Asc.cDate.prototype.getUTCFullYear = function () {
// original
var year = Date.prototype.getUTCFullYear.call(this);
var month = Date.prototype.getUTCMonth.call(this);
var date = Date.prototype.getUTCDate.call(this);