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

Max Expiration date #76

Open
nathanmemmott opened this issue Mar 2, 2023 · 0 comments
Open

Max Expiration date #76

nathanmemmott opened this issue Mar 2, 2023 · 0 comments

Comments

@nathanmemmott
Copy link

The maximum value of a Javascript date is 100,000,000 days after 1 January 1970 UTC. This ends up being a value smaller than the Number.MAX_SAFE_INTEGER which we currently support for expiration. Would we want to have the same max date as Javascript? Doing so would guarantee that the expiration value can be converted to a valid date.

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

No branches or pull requests

1 participant