We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been trying to cache something for 65 days but noticed that the cache has been expiring and the file removed. Date.now() returns milliseconds elapsed since Jan 1st 1970 00:00: 00 UTC. So the value passed to put is actually treated as MS, not seconds. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
5616000
I can fix it locally by multiplying my value by 1000 which gives me the unix timestamp I expect.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I've been trying to cache something for 65 days but noticed that the cache has been expiring and the file removed. Date.now() returns milliseconds elapsed since Jan 1st 1970 00:00: 00 UTC. So the value passed to put is actually treated as MS, not seconds. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
Repro
5616000
I can fix it locally by multiplying my value by 1000 which gives me the unix timestamp I expect.
The text was updated successfully, but these errors were encountered: