From 73053d3a270bb26d4a09e6141f445e49e60152ae Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 16 Dec 2023 10:39:12 +0900 Subject: [PATCH] docs: fix incorrect sample code --- user_guide_src/source/libraries/time/024.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/libraries/time/024.php b/user_guide_src/source/libraries/time/024.php index 64454ca91bfe..ab73eb62cb0b 100644 --- a/user_guide_src/source/libraries/time/024.php +++ b/user_guide_src/source/libraries/time/024.php @@ -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