fix tuwunel quotes being tuwunel quotes

This commit is contained in:
Rosy.iso committed 2026-03-08 02:14:09 +01:00
1 parent 661ef460ae
commit 7aab617706
1 file changed
+3 -3
@@ -93,7 +93,7 @@ function UserExtendedSection({
return new Intl.DateTimeFormat([], {
hour: 'numeric',
minute: '2-digit',
timeZone: profile.timezone,
timeZone: profile.timezone.replace(/^["']|["']$/g, ''),
}).format(new Date());
} catch {
return null;
@@ -144,11 +144,11 @@ function UserExtendedSection({
</Text>
</Box>
)}
{localTime && (
{localTime && profile.timezone && (
<Box alignItems="Center" gap="100">
<Icon size="50" src={Icons.Clock} style={{ opacity: 0.5 }} />
<Text size="T200" priority="400">
{localTime} ({profile.timezone})
{localTime} ({profile.timezone.replace(/^["']|["']$/g, '')})
</Text>
</Box>
)}