futtern/templates/food_order/table_row.html.twig
lubiana 7e53705b4b
All checks were successful
/ ls (pull_request) Successful in 32s
/ ls (push) Successful in 31s
/ ls (release) Successful in 26s
#32: show dates in europe berlin timezone
2024-07-08 17:58:32 +02:00

9 lines
No EOL
407 B
Twig

<tr>
<td>{{ food_order.createdBy }}</td>
<td>{{ food_order.foodVendor.name }}</td>
<td>{{ food_order.createdAt ? food_order.createdAt|date('Y-m-d H:i:s', 'Europe/Berlin') : '' }}</td>
<td>{{ food_order.closedAt ? food_order.closedAt|date('Y-m-d H:i:s', 'Europe/Berlin') : '' }}</td>
<td>
<a href="{{ path('app_food_order_show', {'id': food_order.id}) }}">show</a>
</td>
</tr>