wulf-pulse/lib/hooks
lorentz 2ac2db7a23 feat(07.1-04): add useUserTimezone client hook
- New lib/hooks/use-user-timezone.ts exporting useUserTimezone() and formatInUserTimezone()
- Reads user.timezone from Better Auth useSession() additionalField (Plan 01)
- Validates against Intl.supportedValuesOf('timeZone') with safe fallback to NEXT_PUBLIC_DEFAULT_TIMEZONE || 'UTC'
- Pure formatInUserTimezone helper safe to call inside loops (not a hook)
- Resolves TZ-04
2026-05-07 07:52:16 -04:00
..
use-api.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
use-user-timezone.ts feat(07.1-04): add useUserTimezone client hook 2026-05-07 07:52:16 -04:00