aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-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) => {