From 7aab617706ce8ffdda5fe94299aa76ad75b5d877 Mon Sep 17 00:00:00 2001 From: "Rosy.iso" Date: Sun, 8 Mar 2026 02:14:09 +0100 Subject: [PATCH] fix tuwunel quotes being tuwunel quotes --- src/app/components/user-profile/UserRoomProfile.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index 0031943d..feb8047b 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -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({ )} - {localTime && ( + {localTime && profile.timezone && ( - {localTime} ({profile.timezone}) + {localTime} ({profile.timezone.replace(/^["']|["']$/g, '')}) )}