Files
einundzwanzig-portal/resources/views/vendor/comments/components/date.blade.php
Benjamin Takats 840f79e7fc book cases added
2022-12-07 14:57:15 +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>