Do not use timePeriods when displaying time

This commit is contained in:
Inkception 2023-06-02 17:04:15 +02:00
parent b44d117266
commit 545490a00e
No known key found for this signature in database
GPG Key ID: 947E053BFD3C889B

View File

@ -29,9 +29,9 @@
</div>
<div class="justify-end text-xs lg:text-sm bg-zinc-100 bg-opacity-80 rounded text-black px-2">
{{ $d(currentSchedule.timePeriods[0].startTime, 'dateTimeShortWeekday') }}
{{ $d(currentSchedule.startTime, 'dateTimeShortWeekday') }}
&ndash;
{{ $d(currentSchedule.timePeriods[0].endTime, 'dateTimeShort') }}
{{ $d(currentSchedule.endTime, 'dateTimeShort') }}
</div>
</div>