function getTz
getTz(): string

Get the configured timezone synchronously from cache. Safe to call from synchronous code (templates, helpers) because the settings cache is populated by middleware on every request.

Return Type

string

Usage

import { getTz } from "docs/config.ts";