Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed verifyTime not working with local time (#194)
* Fixed verifyTime not working with local time The `notBefore` and `notOnOrAfterLocal` are UTC while `now` is the local date. This way the comparison can not work. The added variables should fix this. (ref: https://praveenlobo.com/blog/how-to-convert-javascript-local-date-to-utc-and-utc-to-local-date/) * Updated for TypeScript
- Loading branch information