summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/User_view.php4
1 files 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')