diff --git a/app/Http/Controllers/TicketsController.php b/app/Http/Controllers/TicketsController.php index cf86ea43..2477d729 100644 --- a/app/Http/Controllers/TicketsController.php +++ b/app/Http/Controllers/TicketsController.php @@ -145,7 +145,8 @@ class TicketsController extends Controller return __($tickets->priority); }) ->editColumn('updated_at', function (Ticket $tickets) { - return $tickets->updated_at ? $tickets->updated_at->diffForHumans() : ''; + return ['display' => $tickets->updated_at ? $tickets->updated_at->diffForHumans() : '', + 'raw' => $tickets->updated_at ? strtotime($tickets->updated_at) : '']; }) ->addColumn('actions', function (Ticket $tickets) { return ' diff --git a/themes/default/views/ticket/create.blade.php b/themes/default/views/ticket/create.blade.php index 138ce836..c8e5756a 100644 --- a/themes/default/views/ticket/create.blade.php +++ b/themes/default/views/ticket/create.blade.php @@ -46,14 +46,14 @@ @if ($servers->count() >= 1)