mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: shorter function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user