summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-07-25 18:53:27 +0200
committermsquare <msquare@notrademark.de>2019-07-25 18:53:27 +0200
commitaf580389c1971928394628176ff69eafdde91430 (patch)
tree75659f0126d3e14e22dfbcf29ffed1633f7052bc /includes
parentd794efe7bddb07a9bbc483eac3d6d66b20aa8e3f (diff)
no time for arrival day needed
Diffstat (limited to 'includes')
-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')