I’m trying to find out if there’s a specific timezone that FCC is in. I’ve logged in the last four days, but my profile is showing only a streak of 1 day. When I look at the dates of completed challenges, the only dates that show up are May 29 and 31. I haven’t completed any challenges today (just logged in) so my challenges from yesterday are listed as today, and nothing is listed for the 28th when I completed 15 challenges.
When I look at the calendar on the top, all the days are accounted for though.
I noticed that as well. I had a 6 day streak last week, but the longest streak is 4 days, while I never had 4 consecutive days of activity, as you can see.
I think it is just the timezone. I am in GMT+2 (the Netherlands). If the standard timezone is somewhere in the US, then when you complete something after 23:59 it will be the next day for you, but in the US still the same day. Hope anyone knows the real reason?
Does anyone want to try and tackle this issue? This is a big pain point for a lot of people. I think it’s just a matter of diving into the JavaScript and diagnosing the bug (and maybe writing some tests while you’re in there
I’ve started taking a look at it. It appears that the streak (and project/challenge dates) don’t account for the user’s timezone, whereas the calendar does…
I’m not sure about that @george-stepanek, there’s a reference to timezones in server/utils/user-stats.js In which the steak is handled (I think - I’ve not read it super closely yet)
Thanks for letting me know. I just started, so very thankful to know there’s an issues area on Github. I feel better knowing it wasn’t just my computer or something. I’d love to help by contributing to the source, but I should probably get past CSS section first