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:
Jordi EnricandClaude Sonnet 4.6 committed 2026-06-15 12:31:42 +02:00
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