Skip to content

Commit

Permalink
Boa tarde e boa noite não aparecem no mesmo horário
Browse files Browse the repository at this point in the history
  • Loading branch information
adailtonagily committed Dec 14, 2020
1 parent ec30d47 commit ad38c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</h2>

@endif
@if(now()->format('H') >= 12 && now()->format('i') > 1 && now()->format('H') <= 18)
@if(now()->format('H') >= 12 && now()->format('i') > 1 && now()->format('H') <= 18 && now()->format('i') == 0 )
<h2 class="mb-5">
{{'Boa tarde ' .auth()->user()->name}}
</h2>
Expand Down

0 comments on commit ad38c28

Please sign in to comment.