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'));
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
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: {code:php} $day_start = $this->Date->cast($date, 'Y-m-d 00:00:00'); $day_end = $this->Date->cast($date, 'Y-m-d 23:59:59'); {code} to {code:php} $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')); {code} |
The AdminMain controller passes local date times to fetch service/client data when it should be passing UTC date times instead.
e.g. update: {code:java} $day_start = $this->Date->cast($date, 'Y-m-d 00:00:00'); $day_end = $this->Date->cast($date, 'Y-m-d 23:59:59'); {code} to {code:java} $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')); {code} |
Tyson Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |