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

Support Manager: Incorrect date format in upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.2.0-b1
    • Fix Version/s: 3.1.3, 3.2.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      The following query is executed within the 1.6.4 upgrade:

      $this->Record->where("id", "=", $ticket->id)->update("support_tickets", array('date_closed' => date("c")));

      The date should instead be in Y-m-d H:i:s format in UTC.

      $this->SomeModel->dateToUtc(date("c"));

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Fixed

        Show
        tyson Tyson Phillips (Inactive) added a comment - Fixed

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Mar/14