-
Notifications
You must be signed in to change notification settings - Fork 130
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
Data appears twice with bucket=day and daylights saving time switch #121
Comments
this is a good one. iOS or Android? |
Reproduced on multiple Android devices (5.1 and 8.0). Not a problem on iPhone. |
looks like a bug in the Google Fit APIs. |
Do you have access to the Google Fit development forum to escalate the bug report? https://plus.google.com/communities/103314459667402704958/stream/fde8d115-2bd4-4de0-b523-7a8ea7719ef7 (not sure this is official) |
I've posted there sometimes, not really useful, but I can try... |
Let's see if they reply: |
Seems like it's not active, and I can't find any other place to report it. Thanks for posting anyways :) |
if Google doesn't solve it, you may develop a dedup() function yourself and take the first of the two instances. The second instance should contain no data: look at the start and end timestamps. |
On closer inspection we can't just discard the second instance and splitting correctly afterwards will be impossible. Each bucket still spans a 24 hour period, the buckets after the DST switch are simply offset by one hour. |
Just FYI, the same offset will occur when quering data around the 24th of march 2018 (wintertime to summertime):
|
thanks for checking, it confirms the behaviour then... |
On the 28th of October 2018, in timezone with Daylight Savings Time clock reverses one hour.
With the following request (made from GMT+1):
The entry for the 28th of October appears twice in the data:
The text was updated successfully, but these errors were encountered: