Habit tracker: streaks reset at the wrong midnight
Stuck point
the streak resets at UTC midnight instead of the users local midnight, so people in Asia lose their streak mid-afternoon. dates are off by one all over.
progress status — how done is it, really?
that 19-pt gap is probably exactly where the last step is hiding.
What I need help with
the right pattern for storing + comparing dates in the users own timezone.
Your first move
Store each check-in as a UTC timestamp, then compute the streak against the user's LOCAL day using their timezone — stop resetting on UTC midnight.
the road everyone walks
every shipped app walked this exact road. being stuck partway isn't failing, it's the middle of the climb — and the AI read (61%) puts this project roughly here.
next stop: real people use it · they find it and come back.
want YOUR whole road plotted. every step, tool & why? plan your buildknow the missing piece? drop it in the room below.
help outProject story›
What's already working
habits save, the streak counts, the weekly view looks great.
The goal
a habit tracker where the streak feels fair no matter where you live.