mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 16:19:26 +00:00
Fix locale in handlebars formatTime helper
This commit is contained in:
@@ -24,9 +24,9 @@ helpers.formatTime = function (date) {
|
||||
};
|
||||
|
||||
return (
|
||||
date.toLocaleDateString('en', dateOptions) +
|
||||
date.toLocaleDateString('en-GB', dateOptions) +
|
||||
' ' +
|
||||
date.toLocaleTimeString('en', timeOptions)
|
||||
date.toLocaleTimeString('en-GB', timeOptions)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user