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

        cody Cody Phillips (Inactive) created issue -
        cody Cody Phillips (Inactive) made changes -
        Field Original Value New Value
        Assignee Cody Phillips [ cody ] Tyson Phillips [ tyson ]
        cody Cody Phillips (Inactive) made changes -
        Affects Version/s 3.2.0 [ 10002 ]
        cody Cody Phillips (Inactive) made changes -
        Fix Version/s 3.2.0 [ 10002 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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