Skip to content

Commit

Permalink
docs: fix incorrect sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Dec 16, 2023
1 parent 0a94fea commit 73053d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/libraries/time/024.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

use CodeIgniter\I18n\Time;

echo Time::now()->getLocal(); // true
echo Time::now('Europe/London'); // false
echo Time::now()->getLocal(); // true
echo Time::now('Europe/London')->local; // false

0 comments on commit 73053d3

Please sign in to comment.