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 { } else {
var dtFormat = new Intl.DateTimeFormat(userLang, options); var dtFormat = new Intl.DateTimeFormat(userLang, options);
formatFn = function (date) { formatFn = dtFormat.format;
return dtFormat.format(date);
};
} }
var iso; var iso;

Loading…
Cancel
Save