75 - Decoupling Data from Presentation

This commit is contained in:
Adam Wathan
2017-02-11 12:24:02 -05:00
parent 148ccb26f6
commit 5ad11ae268
2 changed files with 4 additions and 6 deletions

View File

@@ -40,7 +40,9 @@
</div>
<div class="media-body p-xs-l-4">
<p class="wt-bold">
{{ $ticket->concert->date->format('l, F j, Y') }}
<time datetime="{{ $ticket->concert->date->format('Y-m-d H:i') }}">
{{ $ticket->concert->date->format('l, F jS, Y') }}
</time>
</p>
<p class="text-dark-soft">
Doors at {{ $ticket->concert->date->format('g:ia') }}