aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-10 07:24:49 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-10 07:24:49 -0700
commit15ada91c82bdb3487e32fe7f5c85164e8074e7fc (patch)
tree7bb21e152203fa712e55a89772b8f99e388924bd /modern
parent0ba95e07f620eeda17678188d647112b87d6d47a (diff)
downloadtrackermap-web-15ada91c82bdb3487e32fe7f5c85164e8074e7fc.tar.gz
trackermap-web-15ada91c82bdb3487e32fe7f5c85164e8074e7fc.tar.bz2
trackermap-web-15ada91c82bdb3487e32fe7f5c85164e8074e7fc.zip
Fix calendar locale
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/CalendarPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/CalendarPage.js b/modern/src/settings/CalendarPage.js
index 862aa9a3..81f0021d 100644
--- a/modern/src/settings/CalendarPage.js
+++ b/modern/src/settings/CalendarPage.js
@@ -15,7 +15,7 @@ import { prefixString } from '../common/util/stringUtils';
const formatTime = (time) => {
const tzid = Intl.DateTimeFormat().resolvedOptions().timeZone;
- return `TZID=${tzid}:${time.format('YYYYMMDDTHHmmss')}`;
+ return `TZID=${tzid}:${time.locale('en').format('YYYYMMDDTHHmmss')}`;
};
const parseRule = (rule) => {