Fixes for timezone corrections for reminders

This commit is contained in:
David Bomba 2023-07-27 17:35:47 +10:00
parent aac1cab448
commit 80e1dd4f1f

View File

@ -195,7 +195,7 @@ class ReminderTest extends TestCase
nlog($next_send_date->format('Y-m-d h:i:s')); nlog($next_send_date->format('Y-m-d h:i:s'));
nlog($calculatedReminderDate->format('Y-m-d h:i:s')); nlog($calculatedReminderDate->format('Y-m-d h:i:s'));
$this->travelTo(now()->addDays(1)); $this->travelTo($calculatedReminderDate);
$reminder_template = $this->invoice->calculateTemplate('invoice'); $reminder_template = $this->invoice->calculateTemplate('invoice');