Multi Timezone #7079
Multi Timezone
#7079
-
How serenity handles multiple timzones for users. For ex. If one user is entering data in UTC +3 where as other user accessing same data in UTC + 5 |
Beta Was this translation helpful? Give feedback.
Answered by
VictorTomaili
Feb 13, 2024
Replies: 1 comment
-
Save date times on database with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
reach2rv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save date times on database with
DateTimeKind.UTC
When a data is updated in UTC+5 timezone, this data should be available in UTC+5 time zone immediately. You cannot wait for UTC+3 time to match.
On script side, the dates should be automatically shown in correct date time because of the browser date time zone. It converts utc time to the local time zone. See this format function