GCGC icon indicating copy to clipboard operation
GCGC copied to clipboard

Incorrect number of seconds in a day

Open Pikamander2 opened this issue 1 year ago • 1 comments

Hi there, I used a code search and found an incorrect number of seconds in a day (84600 instead of 86400) listed in one of your files. I recommend fixing it to avoid incorrect timings that could potentially lead to unexpected behavior.

https://github.com/apple/GCGC/blob/fa043adedee735fcccf6b79ceca8f837c0c77b4d/src/filter_and_group.py#L192

Pikamander2 avatar May 18 '24 09:05 Pikamander2

Thanks for filing an issue. This error is in a comment only, that actual constant is in line 200 and it is correct.

ivankrylov avatar May 18 '24 13:05 ivankrylov