Fix date handling in admin books page

This commit is contained in:
DariusIII
2025-12-22 15:01:53 +01:00
parent b69f7183d0
commit 04e0d6c3c1
+1 -1
View File
@@ -62,7 +62,7 @@
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400">
@if($book->publishdate)
{{ date('Y-m-d', $book->publishdate) }}
{{ \Carbon\Carbon::parse($book->publishdate)->format('Y-m-d') }}
@else
@endif