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 { } 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;