Study-Together-Org / time_counter

12 stars 5 forks source link

Current streak" issue: streak is not resetting to 0 after no activity? #43

Closed nadir7379 closed 3 years ago

nadir7379 commented 3 years ago

Discord user ID: 238002766570717196' Timezone: GMT+2 Amsterdam

Issue BETA counter seems to not reset streak to 0 if user has no in-call activity for 24 hours.

See screenshot below, last activity (60m+) of mine was: Feb 25 23:00 (11PM) It lasted until: ~Feb 26 00:30 (~01.30AM) Total study time: 1.5 hours

Screenshots image

When executing -me on February 27 13:00 (1PM), it shows:

image

Since Feb 26 00:30 was the last recorded activity, running -me on Feb 27 00:31 should have shown 0 streak. Keep in mind the screenshot was executed ~12 hours later, so it should definitely have been 0 (but it's 1).

I hope ths problem is explained well enough. If not, let me know below.

Zackhardtoname commented 3 years ago

explained here part of the reason is that this is the easy way to implement it ofc.

Please kindly read through everything here

Zackhardtoname commented 3 years ago

Hope #47 helps This particular case of yours is expected