no time for arrival day needed

This commit is contained in:
msquare 2019-07-25 18:53:27 +02:00
parent d794efe7bd
commit af580389c1
1 changed files with 2 additions and 2 deletions

View File

@ -233,9 +233,9 @@ function Users_view(
$u['got_shirt'] = glyph_bool($user->state->got_shirt); $u['got_shirt'] = glyph_bool($user->state->got_shirt);
$u['shirt_size'] = $user->personalData->shirt_size; $u['shirt_size'] = $user->personalData->shirt_size;
$u['arrival_date'] = $user->personalData->planned_arrival_date $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 $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['last_login_at'] = $user->last_login_at ? $user->last_login_at->format(__('m/d/Y h:i a')) : '';
$u['actions'] = table_buttons([ $u['actions'] = table_buttons([
button_glyph(page_link_to('admin_user', ['id' => $user->id]), 'edit', 'btn-xs') button_glyph(page_link_to('admin_user', ['id' => $user->id]), 'edit', 'btn-xs')