fix: shorter function

v1.18.x
Barış Soner Uşaklı 6 years ago
parent 2da0a65765
commit 43e7cc0afb

@ -127,9 +127,7 @@ if (typeof window !== 'undefined') {
};
} else {
var dtFormat = new Intl.DateTimeFormat(userLang, options);
formatFn = function (date) {
return dtFormat.format(date);
};
formatFn = dtFormat.format;
}
var iso;

Loading…
Cancel
Save