fix tuwunel quotes being tuwunel quotes
This commit is contained in:
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>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user