dayStart / dayEnd in timezone #71
Unanswered
boompikachu
asked this question in
Q&A
Replies: 0 comments
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.
-
would calling
dayStarton the server (UTC +0) and on the client (UTC +7) results in a different value?For example 2024-09-01T17:05:00
dayStartin Server (UTC +0): 2024-09-01T00:00:00dayStartin Client (UTC +7): 2024-09-01T17:00:00 (2024-09-02T00:00:00.000+07:00)Should there be a 2nd param for the timezone? ie
dayStart(date: Date, { tz: TimeZone })Beta Was this translation helpful? Give feedback.
All reactions