Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2052

System Overview: Graph data fetched using local rather than UTC time

    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

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/16