jstz icon indicating copy to clipboard operation
jstz copied to clipboard

does jstz provide an method for evaluating timezone equality?

Open landon9720 opened this issue 7 years ago • 1 comments

For example:

    const a = 'US Pacific'
    const b = 'America/Los_Angeles'
    jstz.timezoneEquality(a, b) // returns true

landon9720 avatar Nov 14 '17 16:11 landon9720

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 :)

iansinnott avatar Nov 14 '17 19:11 iansinnott