fix: shorter function

This commit is contained in:
Barış Soner Uşaklı
2018-12-26 12:09:39 -05:00
parent 2da0a65765
commit 43e7cc0afb

View File

@@ -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;