display month name in german

master
Gustavo Luigi 2023-07-07 00:43:50 -03:00
parent 9c075e06b0
commit c038e6786e
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@




<li class="item event-item display-flex align-items-center"> <li class="item event-item display-flex align-items-center">
<div class="event-date"> <span class="date">{{date("d", strtotime($content->datum))}}.</span> <span class="month">{{date("F", strtotime($content->datum))}}</span> </div> <div class="event-date"> <span class="date">{{date("d", strtotime($content->datum))}}.</span> <span class="month">{{ Carbon\Carbon::parse($content->datum)->locale('de')->monthName }}</span> </div>
<div class="event-detail"> <div class="event-detail">
<h4><a href="{{$content->path}}">{{$content->title}}</a></h4> <h4><a href="{{$content->path}}">{{$content->title}}</a></h4>
</div> </div>