@karmaniverous/jeeves-scripts-core
    Preparing search index...

    Function requireTimeZone

    • Validate a time zone read from instance config. There is no default: an empty or unknown zone throws, naming where to set it.

      Parameters

      • value: string

        Configured zone (IANA name such as America/Chicago, or UTC)

      • source: string

        Where the value is configured, for the error message

      Returns string

      The zone as given.