mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
feat(timezone-picker): pin UTC as second option after Auto detect
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
80d5b366b7
commit
82d8e2b84e
1 file changed
+13
@@ -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
|
||||
|
||||
Reference in new issue
Block a user