Commit 6991413
authored
Use timezone-aware campaign start time (#438)
DT_Campaign_Fuel::date_of_campaign_day now uses DT_Time_Utilities::start_of_campaign_with_timezone($campaign['ID']) instead of reading $campaign['start_date']['timestamp'] directly. This makes campaign day calculations respect the campaign's timezone and avoids incorrect day offsets when the campaign timezone differs from the server timezone.1 parent 1b4e40b commit 6991413
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments