From f0c82967c7fed76a0fb148b59079005557b13beb Mon Sep 17 00:00:00 2001 From: kylekatarnls <5966783+kylekatarnls@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:39:22 +0000 Subject: [PATCH] Update documentation --- docs/index.html | 44 ++++++++++++++++++++++---------------------- index.html | 3 ++- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/docs/index.html b/docs/index.html index f1d889d2c..2881e1c5a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -281,7 +281,7 @@
$now = Carbon::now();
-echo $now; // 2024-12-11 10:01:45
+echo $now; // 2024-12-11 13:39:21
echo "\n";
$today = Carbon::today();
echo $today; // 2024-12-11 00:00:00
@@ -451,7 +451,7 @@ Instantiation
// 19:15 in Johannesburg
echo 'Meeting starts at '.$meeting->format('H:i').' in Johannesburg.'; // Meeting starts at 19:15 in Johannesburg.
// now in Johannesburg
-echo "It's ".$meeting->nowWithSameTz()->format('H:i').' right now in Johannesburg.'; // It's 12:01 right now in Johannesburg.
+echo "It's ".$meeting->nowWithSameTz()->format('H:i').' right now in Johannesburg.'; // It's 15:39 right now in Johannesburg.
@@ -705,7 +705,7 @@
$date = CarbonImmutable::now();
-echo $date->calendar(); // Today at 10:01 AM
+echo $date->calendar(); // Today at 1:39 PM
echo "\n";
-echo $date->sub('1 day 3 hours')->calendar(); // Yesterday at 7:01 AM
+echo $date->sub('1 day 3 hours')->calendar(); // Yesterday at 10:39 AM
echo "\n";
-echo $date->sub('3 days 10 hours 23 minutes')->calendar(); // Last Saturday at 11:38 PM
+echo $date->sub('3 days 10 hours 23 minutes')->calendar(); // Last Sunday at 3:16 AM
echo "\n";
echo $date->sub('8 days')->calendar(); // 12/03/2024
echo "\n";
-echo $date->add('1 day 3 hours')->calendar(); // Tomorrow at 1:01 PM
+echo $date->add('1 day 3 hours')->calendar(); // Tomorrow at 4:39 PM
echo "\n";
-echo $date->add('3 days 10 hours 23 minutes')->calendar(); // Saturday at 8:24 PM
+echo $date->add('3 days 10 hours 23 minutes')->calendar(); // Sunday at 12:02 AM
echo "\n";
echo $date->add('8 days')->calendar(); // 12/19/2024
echo "\n";
-echo $date->locale('fr')->calendar(); // Aujourd’hui à 10:01
+echo $date->locale('fr')->calendar(); // Aujourd’hui à 13:39
@@ -5588,7 +5588,7 @@