Files
einundzwanzig-portal/resources/views/vendor/comments/components/date.blade.php
Benjamin Takats ce8f87db6f book cases added
2022-12-12 19:17:09 +01:00

8 lines
219 B
PHP

<time datetime="$date->format('Y-m-d H:i:s')" class="comments-date">
@if($date->diffInMinutes() < 1)
{{ __('comments::comments.just_now') }}
@else
{{ $date->diffForHumans() }}
@endif
</time>