From f32689b64ee0f0f6c681d1e11c38f624bd1dbeb4 Mon Sep 17 00:00:00 2001 From: kylekatarnls <5966783+kylekatarnls@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:01:47 +0000 Subject: [PATCH] Update documentation --- .../translate/assets/translations/fr_BE.json | 22 ++--- .../translate/assets/translations/fr_LU.json | 22 ++--- docs/index.html | 90 +++++++++---------- index.html | 60 +++++++------ 4 files changed, 99 insertions(+), 95 deletions(-) diff --git a/contribute/translate/assets/translations/fr_BE.json b/contribute/translate/assets/translations/fr_BE.json index 7afce119cb..8c6bffd86b 100644 --- a/contribute/translate/assets/translations/fr_BE.json +++ b/contribute/translate/assets/translations/fr_BE.json @@ -49,29 +49,29 @@ "Carbon::parse(\"sunday\")->shortDayName": "dim.", "Carbon::parse(\"sunday\")->minDayName": "di", "Carbon::parse(\"january 2023\")->monthName": "janvier", - "Carbon::parse(\"january 2023\")->shortMonthName": "jan", + "Carbon::parse(\"january 2023\")->shortMonthName": "janv.", "Carbon::parse(\"february 2023\")->monthName": "f\u00e9vrier", - "Carbon::parse(\"february 2023\")->shortMonthName": "f\u00e9v", + "Carbon::parse(\"february 2023\")->shortMonthName": "f\u00e9vr.", "Carbon::parse(\"march 2023\")->monthName": "mars", - "Carbon::parse(\"march 2023\")->shortMonthName": "mar", + "Carbon::parse(\"march 2023\")->shortMonthName": "mars", "Carbon::parse(\"april 2023\")->monthName": "avril", - "Carbon::parse(\"april 2023\")->shortMonthName": "avr", + "Carbon::parse(\"april 2023\")->shortMonthName": "avr.", "Carbon::parse(\"may 2023\")->monthName": "mai", "Carbon::parse(\"may 2023\")->shortMonthName": "mai", "Carbon::parse(\"june 2023\")->monthName": "juin", - "Carbon::parse(\"june 2023\")->shortMonthName": "jun", + "Carbon::parse(\"june 2023\")->shortMonthName": "juin", "Carbon::parse(\"july 2023\")->monthName": "juillet", - "Carbon::parse(\"july 2023\")->shortMonthName": "jui", + "Carbon::parse(\"july 2023\")->shortMonthName": "juil.", "Carbon::parse(\"august 2023\")->monthName": "ao\u00fbt", - "Carbon::parse(\"august 2023\")->shortMonthName": "ao\u00fb", + "Carbon::parse(\"august 2023\")->shortMonthName": "ao\u00fbt", "Carbon::parse(\"september 2023\")->monthName": "septembre", - "Carbon::parse(\"september 2023\")->shortMonthName": "sep", + "Carbon::parse(\"september 2023\")->shortMonthName": "sept.", "Carbon::parse(\"october 2023\")->monthName": "octobre", - "Carbon::parse(\"october 2023\")->shortMonthName": "oct", + "Carbon::parse(\"october 2023\")->shortMonthName": "oct.", "Carbon::parse(\"november 2023\")->monthName": "novembre", - "Carbon::parse(\"november 2023\")->shortMonthName": "nov", + "Carbon::parse(\"november 2023\")->shortMonthName": "nov.", "Carbon::parse(\"december 2023\")->monthName": "d\u00e9cembre", - "Carbon::parse(\"december 2023\")->shortMonthName": "d\u00e9c", + "Carbon::parse(\"december 2023\")->shortMonthName": "d\u00e9c.", "Carbon::now()->subHours(2)->diffForHumans()": "il y a 2 heures", "Carbon::now()->addHours(2)->addMinute()->diffForHumans([\"part\" => 1])": "dans 2 heures", "($d = Carbon::now())->copy()->subHours(2)->diffForHumans($d)": "2 heures avant", diff --git a/contribute/translate/assets/translations/fr_LU.json b/contribute/translate/assets/translations/fr_LU.json index 7afce119cb..8c6bffd86b 100644 --- a/contribute/translate/assets/translations/fr_LU.json +++ b/contribute/translate/assets/translations/fr_LU.json @@ -49,29 +49,29 @@ "Carbon::parse(\"sunday\")->shortDayName": "dim.", "Carbon::parse(\"sunday\")->minDayName": "di", "Carbon::parse(\"january 2023\")->monthName": "janvier", - "Carbon::parse(\"january 2023\")->shortMonthName": "jan", + "Carbon::parse(\"january 2023\")->shortMonthName": "janv.", "Carbon::parse(\"february 2023\")->monthName": "f\u00e9vrier", - "Carbon::parse(\"february 2023\")->shortMonthName": "f\u00e9v", + "Carbon::parse(\"february 2023\")->shortMonthName": "f\u00e9vr.", "Carbon::parse(\"march 2023\")->monthName": "mars", - "Carbon::parse(\"march 2023\")->shortMonthName": "mar", + "Carbon::parse(\"march 2023\")->shortMonthName": "mars", "Carbon::parse(\"april 2023\")->monthName": "avril", - "Carbon::parse(\"april 2023\")->shortMonthName": "avr", + "Carbon::parse(\"april 2023\")->shortMonthName": "avr.", "Carbon::parse(\"may 2023\")->monthName": "mai", "Carbon::parse(\"may 2023\")->shortMonthName": "mai", "Carbon::parse(\"june 2023\")->monthName": "juin", - "Carbon::parse(\"june 2023\")->shortMonthName": "jun", + "Carbon::parse(\"june 2023\")->shortMonthName": "juin", "Carbon::parse(\"july 2023\")->monthName": "juillet", - "Carbon::parse(\"july 2023\")->shortMonthName": "jui", + "Carbon::parse(\"july 2023\")->shortMonthName": "juil.", "Carbon::parse(\"august 2023\")->monthName": "ao\u00fbt", - "Carbon::parse(\"august 2023\")->shortMonthName": "ao\u00fb", + "Carbon::parse(\"august 2023\")->shortMonthName": "ao\u00fbt", "Carbon::parse(\"september 2023\")->monthName": "septembre", - "Carbon::parse(\"september 2023\")->shortMonthName": "sep", + "Carbon::parse(\"september 2023\")->shortMonthName": "sept.", "Carbon::parse(\"october 2023\")->monthName": "octobre", - "Carbon::parse(\"october 2023\")->shortMonthName": "oct", + "Carbon::parse(\"october 2023\")->shortMonthName": "oct.", "Carbon::parse(\"november 2023\")->monthName": "novembre", - "Carbon::parse(\"november 2023\")->shortMonthName": "nov", + "Carbon::parse(\"november 2023\")->shortMonthName": "nov.", "Carbon::parse(\"december 2023\")->monthName": "d\u00e9cembre", - "Carbon::parse(\"december 2023\")->shortMonthName": "d\u00e9c", + "Carbon::parse(\"december 2023\")->shortMonthName": "d\u00e9c.", "Carbon::now()->subHours(2)->diffForHumans()": "il y a 2 heures", "Carbon::now()->addHours(2)->addMinute()->diffForHumans([\"part\" => 1])": "dans 2 heures", "($d = Carbon::now())->copy()->subHours(2)->diffForHumans($d)": "2 heures avant", diff --git a/docs/index.html b/docs/index.html index f789ade1d0..f1d889d2cb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -133,13 +133,13 @@
$now = Carbon::now();
-echo $now; // 2024-11-15 00:26:57
+echo $now; // 2024-12-11 10:01:45
echo "\n";
$today = Carbon::today();
-echo $today; // 2024-11-15 00:00:00
+echo $today; // 2024-12-11 00:00:00
echo "\n";
$tomorrow = Carbon::tomorrow('Europe/London');
-echo $tomorrow; // 2024-11-16 00:00:00
+echo $tomorrow; // 2024-12-12 00:00:00
echo "\n";
$yesterday = Carbon::yesterday();
-echo $yesterday; // 2024-11-14 00:00:00
+echo $yesterday; // 2024-12-10 00:00:00
@@ -451,7 +451,7 @@
$date = CarbonImmutable::now();
-echo $date->calendar(); // Today at 12:26 AM
+echo $date->calendar(); // Today at 10:01 AM
echo "\n";
-echo $date->sub('1 day 3 hours')->calendar(); // Last Wednesday at 9:26 PM
+echo $date->sub('1 day 3 hours')->calendar(); // Yesterday at 7:01 AM
echo "\n";
-echo $date->sub('3 days 10 hours 23 minutes')->calendar(); // Last Monday at 2:03 PM
+echo $date->sub('3 days 10 hours 23 minutes')->calendar(); // Last Saturday at 11:38 PM
echo "\n";
-echo $date->sub('8 days')->calendar(); // 11/07/2024
+echo $date->sub('8 days')->calendar(); // 12/03/2024
echo "\n";
-echo $date->add('1 day 3 hours')->calendar(); // Tomorrow at 3:26 AM
+echo $date->add('1 day 3 hours')->calendar(); // Tomorrow at 1:01 PM
echo "\n";
-echo $date->add('3 days 10 hours 23 minutes')->calendar(); // Monday at 10:49 AM
+echo $date->add('3 days 10 hours 23 minutes')->calendar(); // Saturday at 8:24 PM
echo "\n";
-echo $date->add('8 days')->calendar(); // 11/23/2024
+echo $date->add('8 days')->calendar(); // 12/19/2024
echo "\n";
-echo $date->locale('fr')->calendar(); // Aujourd’hui à 00:26
+echo $date->locale('fr')->calendar(); // Aujourd’hui à 10:01
@@ -5588,7 +5588,7 @@