-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processing based on time zone #53
Comments
our dates are like "2024-03-23T06:08:45.000Z" in the offline db. Using Z in the timestamp means UTC. When we display the date using console.log we are shown the date in human friendly timezone converted format. Check this link for more on date being initialised with string - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format There is no issue in Avni mobile wrt to date being in UTC
|
@petmongrels where is the conversion happening? How does it know it needs to convert to IST? |
The timezone comes from the JS runtime environment. It is just the display that is changed. |
Steps:
AC:
Need:
The above is needed because as per the implementation team, the conversion doesn't happen. Identifying where we are doing the above, will help us to identify if any edge cases exist, that needs to be fixed.
Old: Ignore
Have a configuration - of country somewhere
Inputs:
The text was updated successfully, but these errors were encountered: