index.min.js 436 Bytes
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.localISOdt=localISOdt;function localISOdt(d){if(!d)d=new Date;if(/^\d\d\d\d-\d\d-\d\d/.test(d))return d;if(/^\d+\.?\d*$/.test(d)){if(d<4102512345)d*=1000;if(d>4102512345000)d/=1000;if(d>4102512345000)d/=1000}if(!(d instanceof Date))d=new Date(d);return new Date(d-d.getTimezoneOffset()*60000).toISOString().slice(0,-5)}

//# sourceMappingURL=index.min.js.map