Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(dashboard): workspace settings shows UTC in the timezone picker

Carl-Gerhard Lindesvärdc43212830225
diff --git a/apps/start/src/routes/_app.$organizationId.settings.tsx b/apps/start/src/routes/_app.$organizationId.settings.tsx
index 302986492..9b9b895cc 100644
--- a/apps/start/src/routes/_app.$organizationId.settings.tsx
+++ b/apps/start/src/routes/_app.$organizationId.settings.tsx
@@ -108,10 +108,12 @@ function Component() {
<WithLabel label="Timezone">
<Combobox
className="w-full"
- items={Intl.supportedValuesOf('timeZone').map((item) => ({
- value: item,
- label: item,
- }))}
+ items={['UTC', ...Intl.supportedValuesOf('timeZone')].map(
+ (item) => ({
+ value: item,
+ label: item,
+ })
+ )}
onChange={field.onChange}
placeholder="Select timezone"
value={field.value}