ReviewOS

stacks/ts-analytics

Timeseries minute/hour bucketing mixes local and UTC time

#136
Closed glennmichael123 opened this 9 days ago ·
9 days ago

Severity: Medium · Where: stats.ts:635,639 Bucket keys use getUTCMinutes()/ISO (UTC) but the loop advances with local setMinutes/setHours. Impact: Off-by-one buckets in non-UTC server locales. Fix: Use UTC consistently for both keying and iteration.

Sign in to comment on this issue.