Dates are now stored in UTC (#1491)

This commit is contained in:
Régis Freyd
2018-07-22 11:11:06 -04:00
committed by GitHub
parent 8d15e45b2d
commit 341ee04197
20 changed files with 40 additions and 63 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class SpecialDate extends Model
$reminder->title = $title;
$reminder->save();
$reminder->calculateNextExpectedDate($reminder->account->timezone())->save();
$reminder->calculateNextExpectedDate()->save();
$this->reminder_id = $reminder->id;
$this->save();