Function: getDefaultTimezone()
getDefaultTimezone(
svc,companyId):Promise<string>
Defined in: src/server/services/settings.ts:56
The company's default/operating timezone (IANA), falling back to EST/EDT.
An unrecognised stored value falls back rather than propagating: this feeds businessDayInTz,
which throws on an unknown zone, and the contractor home page resolves its pay period through it.
Parameters
svc
SupabaseClient
companyId
string
Returns
Promise<string>