Skip to content

Commit

Permalink
Merge pull request #167 from TheDMSGroup/ENG-661
Browse files Browse the repository at this point in the history
[ENG-661] apply client timezone to current time (->now) for all subse…
  • Loading branch information
heathdutton authored Dec 6, 2018
2 parents 9e43752 + 3bebc5a commit d9e5e85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/Schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ public function setTimezone(\DateTimeZone $timezone = null)
$timezone = new \DateTimeZone($timezone);
}
$this->timezone = $timezone;
$this->now->setTimezone($timezone);

return $this;
}
Expand Down

0 comments on commit d9e5e85

Please sign in to comment.