KamoCRM

Convert PT midnight cutoff to UTC for today-count query

FixSecurityService
Shipped
April 18, 2026 at 3:12 PM UTC
Author
Kamo
Commit
8fa306c

Commits are stored in UTC but the cutoff was a naive LocalDateTime in PT, causing yesterday-evening PT commits (00:00–06:59 UTC) to be counted as today.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing