From af580389c1971928394628176ff69eafdde91430 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 25 Jul 2019 18:53:27 +0200 Subject: [PATCH] no time for arrival day needed --- includes/view/User_view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/view/User_view.php b/includes/view/User_view.php index 3d45c013..c8d60994 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -233,9 +233,9 @@ function Users_view( $u['got_shirt'] = glyph_bool($user->state->got_shirt); $u['shirt_size'] = $user->personalData->shirt_size; $u['arrival_date'] = $user->personalData->planned_arrival_date - ? $user->personalData->planned_arrival_date->format(__('m/d/Y h:i a')) : ''; + ? $user->personalData->planned_arrival_date->format(__('Y-m-d')) : ''; $u['departure_date'] = $user->personalData->planned_departure_date - ? $user->personalData->planned_departure_date->format(__('m/d/Y h:i a')) : ''; + ? $user->personalData->planned_departure_date->format(__('Y-m-d')) : ''; $u['last_login_at'] = $user->last_login_at ? $user->last_login_at->format(__('m/d/Y h:i a')) : ''; $u['actions'] = table_buttons([ button_glyph(page_link_to('admin_user', ['id' => $user->id]), 'edit', 'btn-xs')