This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
|
Deta uses UNIX time stamp to generalize different time zones and handle the expiration ... It's neither server time nor local machine time afaik |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think that when use expireIn option, to set __expires time is relative time from server time better than it from local machine time.
When using Deta Base, I thought that if I set expireIn option, the expiring time is set to exact time I set.
But, it expired early.
I tried to set __expires myself and to set using expireIn option.
__expires field was same time.
Here's the code(JavaScript) I tried.
And I used deta version is
Beta Was this translation helpful? Give feedback.
All reactions