How to use the timezonecomplete.DateFunctions.Get function in timezonecomplete

To help you get started, we’ve selected a few timezonecomplete examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MoveOnOrg / Spoke / src / lib / dst-helper.js View on Github external
static isDateDst(date: Date, timezone: string): boolean {
    let d = new DateTime(date, DateFunctions.Get, zone(timezone));
    return DstHelper.isOffsetDst(d.offset(), timezone);
  }

timezonecomplete

DateTime, TimeZone, Duration and Period library aimed at providing a consistent and complete date-time interface, away from the original JavaScript Date class.

MIT
Latest version published 3 years ago

Package Health Score

58 / 100
Full package analysis