Installed and used composer require knplabs/knp-time-bundle to render time since ship arrived at.

This commit is contained in:
Krzysztof Płaczek
2024-10-19 17:34:00 +02:00
parent c2998606b5
commit 6172d76b79
8 changed files with 208 additions and 14 deletions

View File

@@ -29,7 +29,7 @@
>{{ ship.name }}</a>
</h4>
<div>
Arrived at: {{ ship.arrivedAt|date }}
Arrived at: {{ ship.arrivedAt|ago }}
</div>
</div>
</div>