MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / Fe

Function Fe

codebase/dhtmlxscheduler.es.js:5246–5251  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

5244 var t = new Date(e);
5245 return [me(t.getUTCFullYear().toString(), 4, "0"), me(t.getUTCMonth() + 1, 2, "0"), me(t.getUTCDate(), 2, "0"), "T", me(t.getUTCHours(), 2, "0"), me(t.getUTCMinutes(), 2, "0"), me(t.getUTCSeconds(), 2, "0"), i ? "Z" : ""].join("");
5246}, Fe = function(e) {
5247 var i = /^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/.exec(e);
5248 if (!i)
5249 throw new Error("Invalid UNTIL value: ".concat(e));
5250 return new Date(Date.UTC(parseInt(i[1], 10), parseInt(i[2], 10) - 1, parseInt(i[3], 10), parseInt(i[5], 10) || 0, parseInt(i[6], 10) || 0, parseInt(i[7], 10) || 0));
5251}, et = function(e, i) {
5252 return e.toLocaleString("sv-SE", { timeZone: i }).replace(" ", "T") + "Z";
5253}, be = function() {
5254 function e(i, t) {

Callers 3

MeFunction · 0.70
ntFunction · 0.70
dtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected