-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(daily summary): Fix timezone (#66563)
Using `floor_to_utc_day` made the timestamp always UTC midnight which equates to PST 4pm - this wasn't caught in tests because the timestamp was being passed in so this code path wasn't being hit. This should prevent the resending each hour to only sending at 4pm at the user's local time as intended.
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters