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
-
would calling
dayStart
on the server (UTC +0) and on the client (UTC +7) results in a different value?For example 2024-09-01T17:05:00
dayStart
in Server (UTC +0): 2024-09-01T00:00:00dayStart
in 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