/var/www/qr4y.com/server/delivery/node_modules/moment/src/lib/create
NameSizeModeActions
check-overflow.js15420644editdlrm
date-from-array.js10760644editdlrm
from-anything.js33510644editdlrm
from-array.js55850644editdlrm
from-object.js5490644editdlrm
from-string-and-array.js20110644editdlrm
from-string-and-format.js40920644editdlrm
from-string.js80070644editdlrm
local.js1830644editdlrm
parsing-flags.js6440644editdlrm
utc.js1860644editdlrm
valid.js15140644editdlrm
Edit: /var/www/qr4y.com/server/delivery/node_modules/moment/src/lib/create/date-from-array.js (1076B)
export function createDate(y, m, d, h, M, s, ms) { // can't just apply() to create a date: // https://stackoverflow.com/q/181348 var date; // the date constructor remaps years 0-99 to 1900-1999 if (y < 100 && y >= 0) { // preserve leap years using a full 400 year cycle, then reset date = new Date(y + 400, m, d, h, M, s, ms); if (isFinite(date.getFullYear())) { date.setFullYear(y); } } else { date = new Date(y, m, d, h, M, s, ms); } return date; } export function createUTCDate(y) { var date, args; // the Date.UTC function remaps years 0-99 to 1900-1999 if (y < 100 && y >= 0) { args = Array.prototype.slice.call(arguments); // preserve leap years using a full 400 year cycle, then reset args[0] = y + 400; date = new Date(Date.UTC.apply(null, args)); if (isFinite(date.getUTCFullYear())) { date.setUTCFullYear(y); } } else { date = new Date(Date.UTC.apply(null, arguments)); } return date; }