Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(timezone-picker): pin UTC as second option FE-3570 (#46934)

Jordi Enric0920e48d122c
diff --git a/apps/studio/components/interfaces/UserDropdown/TimezoneDropdown.tsx b/apps/studio/components/interfaces/UserDropdown/TimezoneDropdown.tsx
index 16fcc29ce99..8844d7d7a06 100644
--- a/apps/studio/components/interfaces/UserDropdown/TimezoneDropdown.tsx
+++ b/apps/studio/components/interfaces/UserDropdown/TimezoneDropdown.tsx
@@ -81,6 +81,19 @@ export const TimezoneDropdown = () => {
)}
/>
</CommandItem>
+ <CommandItem
+ key="UTC"
+ value="UTC Coordinated Universal Time"
+ onSelect={() => handleSelect('UTC')}
+ >
+ {'(UTC) Coordinated Universal Time'}
+ <CheckIcon
+ className={cn(
+ 'ml-auto h-4 w-4',
+ !isAutoDetected && storedTimezone === 'UTC' ? 'opacity-100' : 'opacity-0'
+ )}
+ />
+ </CommandItem>
{TIMEZONES_BY_IANA.map((entry) => {
const ianaName = entry.utc[0]
const isSelected = !isAutoDetected && storedTimezone === ianaName