Closed kanatagu closed 9 months ago
In this app, I have set the timezone for all dates and times as 'Asia/Tokyo' so that every time the time is converted into a JS Date object from the database, it will be consistent.
How come all dates and times have become suddenly recognized as Asia/Tokyo
?
In this app, I have set the timezone for all dates and times as 'Asia/Tokyo' so that every time the time is converted into a JS Date object from the database, it will be consistent.
How come all dates and times have become suddenly recognized as
Asia/Tokyo
?
@Yo-mah-Ya
Anywhere is fine but we need Absolute timezone. I just chose Asia/Tokyo
because we're Japanese...
Anywhere is fine but we need Absolute timezone.
I didn't get the meaning of absolute timezone in this context though, if you mean that you wanna take advantage of the lack of daylight savings time in Japan, - which I guessed it comes from Slack threads - it's not granted it wouldn't change down the load.
But for now, I just wanna review this in inductive way, so if it works, approve !👍
What I Changed
Why I changed
Reference Slack: https://tabimemoworkspace.slack.com/archives/C063AKD40PL/p1706395513822929
Example
date_from: "2024-01-01T00:00:00+09:00"
and send the date to Database. This is Tokyo timezone.date_from: "2023-12-31T15:00:00+00:00"
date_from: "2024-01-01T00:00:00+09:00"
Note