account, schduels, timezone profile and many imporant updates

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-19 15:37:03 +00:00
parent 618ed8b8c6
commit e7219a2390
28 changed files with 919 additions and 358 deletions

View File

@@ -0,0 +1,11 @@
export const getAccountTimezone = (): string => {
try {
const raw = localStorage.getItem('auth-storage');
if (!raw) return 'UTC';
const parsed = JSON.parse(raw);
const tz = parsed?.state?.user?.account?.account_timezone;
return tz || 'UTC';
} catch {
return 'UTC';
}
};