Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
The AdminMain controller passes local date times to fetch service/client data when it should be passing UTC date times instead.
e.g. update:
$day_start = $this->Date->cast($date, 'Y-m-d 00:00:00'); $day_end = $this->Date->cast($date, 'Y-m-d 23:59:59');
to
$day_start = $this->SystemOverviewStatistics->dateToUtc($this->Date->cast($date, 'Y-m-d 00:00:00')); $day_end = $this->SystemOverviewStatistics->dateToUtc($this->Date->cast($date, 'Y-m-d 23:59:59'));