diff --git a/web/src/routes/Events.jsx b/web/src/routes/Events.jsx
index 5cf8dbf52..d5d7b52bc 100644
--- a/web/src/routes/Events.jsx
+++ b/web/src/routes/Events.jsx
@@ -287,9 +287,6 @@ export default function Events({ path, ...props }) {
return ;
}
- const timezone = config.ui?.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone;
- const locale = window.navigator?.language || 'en-US';
-
return (
Events
@@ -508,7 +505,7 @@ export default function Events({ path, ...props }) {
- {formatUnixTimestampToDateTime(event.start_time, locale, timezone, config.ui?.use12hour)}
+ {formatUnixTimestampToDateTime(event.start_time, { ...config.ui })}
-