Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
landon9720 opened this issue Nov 14, 2017 · 1 comment
Open

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

landon9720 opened this issue Nov 14, 2017 · 1 comment

Comments

@landon9720
Copy link

For example:

    const a = 'US Pacific'
    const b = 'America/Los_Angeles'
    jstz.timezoneEquality(a, b) // returns true
@landon9720 landon9720 changed the title does jstz provide an method for evaluating timezone equality/ does jstz provide an method for evaluating timezone equality? Nov 14, 2017
@iansinnott
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants