Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bug report: date in first tick after clock granularity change is incorrect

Expected

The first tick when changing clock.granularity from minutes to seconds fires on next second and reports the correct seconds value in event.date.getSeconds().

 

Actual

The first tick event event.date.getSeconds() reports 0. The second tick event reports the actual, correct seconds.

 

Confirmed in Fitbit OS Simulator and Fitbit Versa 2 version 70.7.21. Bug only present when Always On Display is not enabled.

 

See video and example code that prints the seconds value via console.log and updates the text on screen at https://github.com/jeremiahlee/fitbit-first-tick-seconds-bug

Best Answer
0 Votes
0 REPLIES 0