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

Clock in Fitbit studio is off by one hour

I've been banging my head against the wall trying to figure out why the time on my clockface in Fitbit Studio is one hour behind what the actual time should be.

 

The time is wrong regardless of whether I run the app in the simulator or build it to my Versa 3 device. I'm using the 6.0 SDK.

 

Any ideas as to what could be the problem?

 

Here is the code for my clockface:

// Update the clock every minute
clock.granularity = "minutes";

clock.addEventListener("tick", (evt) => {
let today = evt.date;
let hours = today.getHours();
timeHandle.text = evt.date.toTimeString().slice(0, -4);
console.log(evt.date.toTimeString());
});

 

Thanks a lot!

 

Best Answer
0 REPLIES 0