-
Notifications
You must be signed in to change notification settings - Fork 37
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
Time used is not correct during the mission #1442
Comments
Suspect difference in time zone for missions received through API call and missions received through signal R This PR ensures local time for variables fetched through API call. Might be useful to understand the issue |
@aestene , do you have some input on the way to solve this? |
The issue seems to be related to this: https://stackoverflow.com/questions/40205893/datetime-kind-set-to-unspecified-not-utc-upon-loading-from-database |
See #1476 |
If this is not formalized somewhere, I think we should always store a datetime as UTC, and only when we display it in the frontend will we change it to local time. Any thoughts on this strategy, @andchiind and @Eddasol |
Should be fixed by #1553 |
Describe the bug
During a mission, time used is not correct for all missions. Typically, it shows 60-80 minutes instead of 0-20 minutes. I have not confirmed it, but suspect that there might be an hour offset. The time used is shown correctly for the mission in the history page.
To Reproduce
Steps to reproduce the behavior: Start a mission and monitor the time used on the mission page during the mission.
Expected behavior
The time used should be correct.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: