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

    Function describeOffsetDifference

    • A difference from offsetDifferenceMinutes in words: "9 h ahead", "9 h behind", "5 h 30 ahead", "same time" — in en, fr, de, es or it (by the locale's language subtag; anything else reads as English). The subject is the zone passed FIRST to offsetDifferenceMinutes: "the clinic is 9 h ahead" is describeOffsetDifference(offsetDifferenceMinutes( clinic, patient, at)).

      Parameters

      • minutes: number
      • Optionallocale: string

      Returns string