iansinnott / jstz

🌐Timezone detection for JavaScript
Other
176 stars 33 forks source link

does jstz provide an method for evaluating timezone equality? #14

Open landon9720 opened 6 years ago

landon9720 commented 6 years ago

For example:

    const a = 'US Pacific'
    const b = 'America/Los_Angeles'
    jstz.timezoneEquality(a, b) // returns true
iansinnott commented 6 years ago

Not that I know of, but the original library was not written by me. I'd refer you to the bitbucket docs: https://bitbucket.org/pellepim/jstimezonedetect

I'd also welcome a PR if you feel like adding such functionality :)