去除 生日提醒

This commit is contained in:
iVampireSP.com 2022-12-30 21:13:15 +08:00
parent ecca9c2200
commit b9f26fef70
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -19,20 +19,7 @@
<p>生日: {{ $user->birthday_at }},
{{-- 是不是今天 --}}
@if ($user->birthday_at->isToday())
<span class="text-danger">今天就是。</span>
@else
{{-- 距离下次生日的时间 --}}
@if ($user->birthday_at->isFuture())
还有 {{ $user->birthday_at->diffInDays() }} {{ $user->birthday_at->diffInHours() }} 小时
@else
已经过去 {{ $user->birthday_at->diffInDays() }} {{ $user->birthday_at->diffInHours() }} 小时
@endif
@endif
</p>
<p>生日: {{ $user->birthday_at }}</p>
{{-- hosts --}}