08-17-2015 14:33
08-17-2015 14:33
Hi guys,
according to documentation result of querying /devices endpoint should return lastSyncTime in UTC, not user's local timezone.
However, when user has America/Phoenix timezone set and for this user I receive notification at 14:12 (UTC-7) and after that I make request to /devices endpoint I get 'lastSyncTime' 2015-08-17T14:12:32.060, which doesn't seem to be UTC.
I would expect lastSyncTime to be set to 2015-08-17T21:12:32.060
What am I missing?
Thanks.
Answered! Go to the Best Answer.
09-08-2015 12:41
09-08-2015 12:41
Just got reply from tech support on my email, maybe this will help somebody in future:
According to our tests, last sync time through that endpoint returns the last sync time in the local time of the user.
Thanks for bringing this issue to our attention. For now, please take the appropriate changes to utilize the customer's local last sync time instead of last sync time in UTC. We're sorry for the inconvenience.
08-28-2015 13:23
08-28-2015 13:23
No ideas?
Just wonder if anybody from Fitbit read this forum at all?
09-08-2015 12:41
09-08-2015 12:41
Just got reply from tech support on my email, maybe this will help somebody in future:
According to our tests, last sync time through that endpoint returns the last sync time in the local time of the user.
Thanks for bringing this issue to our attention. For now, please take the appropriate changes to utilize the customer's local last sync time instead of last sync time in UTC. We're sorry for the inconvenience.