proginosko / LeechBlockNG-chrome

LeechBlock NG (Next Generation) for Chrome is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
74 stars 14 forks source link

Stated time that override will end is wrong #44

Closed ElhemEnohpi closed 2 years ago

ElhemEnohpi commented 2 years ago

I started using LeechBlock recently and noticed a minor issue: when I do an override, I see a page with a message, e.g. "Override activated. Blocking will be suspended until 9:09:54 a.m.." but the stated time is six hours later than it should be. It should (and does in fact) end at 3:09:54 a.m.

Firefox 100, macOS 12.4, LeechBlock 1.4.2

proginosko commented 2 years ago

Does this happen only with the override time? Do you get the same error when a page is blocked (and the blocking page shows the time when the block will end)?

ElhemEnohpi commented 2 years ago

Nevermind. Looks like I had a clock offset in General settings from when I used it before, a long time ago. Not sure why, I think maybe in order to make it reset at 6am instead of midnight. I forgot about that, sorry to bother you.

proginosko commented 2 years ago

No problem! Glad you figured it out.