Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Function describeTimeZone

    • Describe a zone for display: offset and long name at at (now by default — both change with daylight saving, so a picker showing today's offset is what a person expects). Throws on an unknown zone; validate first.

      Parameters

      • id: string

        IANA zone id.

      • at: Date = ...

        The instant to describe it at.

      • locale: string = 'en'

        BCP 47 locale for the long name ('fr-CH').

      Returns TimeZoneDescription