Skip to content

Commit

Permalink
Merge pull request #129 from AiAe/dev-aiae
Browse files Browse the repository at this point in the history
Fix timezone popup
  • Loading branch information
AiAe authored Oct 27, 2024
2 parents 0a27103 + bcd7c7f commit d87ff2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/timestamp.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@endif
<span {{ $attributes }} class="badge bg-light text-dark" data-bs-toggle="tooltip" data-bs-placement="top"
title="{{ $timestamp }} UTC">
@if($loggedUser && $loggedUser->timezone_offset != null)
@if($loggedUser && $loggedUser->timezone_offset !== null)
{{ $loggedUser->convertTime($timestamp) }} (UTC{{ format_timezone_offset($loggedUser->timezone_offset) }})
@else
{{ $timestamp }}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/web/layout/base.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@stack('modals')

@auth()
@if(empty($loggedUser->timezone_offset))
@if($loggedUser->timezone_offset === null)
@include('web.modals.timezone')
@endif
@endauth
Expand Down

0 comments on commit d87ff2a

Please sign in to comment.