diff --git a/src/Carbon/CarbonInterface.php b/src/Carbon/CarbonInterface.php index 09a1f8d521..ac7a4f4c90 100644 --- a/src/Carbon/CarbonInterface.php +++ b/src/Carbon/CarbonInterface.php @@ -601,6 +601,13 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable */ public const ISO_FORMAT_REGEXP = '(O[YMDHhms]|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY?|g{1,5}|G{1,5}|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?)'; + /** + * Default locale (language and region). + * + * @var string + */ + public const DEFAULT_LOCALE = 'en'; + // /** @@ -1029,7 +1036,7 @@ public static function createFromFormat($format, $time, $tz = null); * * @return static|false */ - public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null); + public static function createFromIsoFormat($format, $time, $tz = null, $locale = self::DEFAULT_LOCALE, $translator = null); /** * Create a Carbon instance from a specific format and a string in a given language. diff --git a/src/Carbon/CarbonInterval.php b/src/Carbon/CarbonInterval.php index e3a339d716..73558ad8ae 100644 --- a/src/Carbon/CarbonInterval.php +++ b/src/Carbon/CarbonInterval.php @@ -824,7 +824,7 @@ public static function fromString($intervalDefinition) */ public static function parseFromLocale($interval, $locale) { - return static::fromString(Carbon::translateTimeString($interval, $locale, 'en')); + return static::fromString(Carbon::translateTimeString($interval, $locale, CarbonInterface::DEFAULT_LOCALE)); } private static function castIntervalToClass(DateInterval $interval, string $className) diff --git a/src/Carbon/Factory.php b/src/Carbon/Factory.php index f1e74a8b35..190e7bf0b3 100644 --- a/src/Carbon/Factory.php +++ b/src/Carbon/Factory.php @@ -26,7 +26,7 @@ * will be 0. * @method Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now. * @method Carbon|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format. - * @method Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()). + * @method Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en_ISO', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()). * @method Carbon|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language. * @method Carbon|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language. * @method Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today. diff --git a/src/Carbon/FactoryImmutable.php b/src/Carbon/FactoryImmutable.php index 31318387b7..095772b4cd 100644 --- a/src/Carbon/FactoryImmutable.php +++ b/src/Carbon/FactoryImmutable.php @@ -26,7 +26,7 @@ * will be 0. * @method CarbonImmutable createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now. * @method CarbonImmutable|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format. - * @method CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()). + * @method CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en_ISO', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()). * @method CarbonImmutable|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language. * @method CarbonImmutable|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language. * @method CarbonImmutable createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today. diff --git a/src/Carbon/Lang/aa_ET.php b/src/Carbon/Lang/aa_ET.php index e55e591b54..b6f7d0b3a0 100644 --- a/src/Carbon/Lang/aa_ET.php +++ b/src/Carbon/Lang/aa_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'], 'weekdays_short' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'], 'weekdays_min' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['saaku', 'carra'], ]); diff --git a/src/Carbon/Lang/am_ET.php b/src/Carbon/Lang/am_ET.php index ece80621a8..7cc676b375 100644 --- a/src/Carbon/Lang/am_ET.php +++ b/src/Carbon/Lang/am_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], 'weekdays_short' => ['እሑድ', 'ሰኞ ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], 'weekdays_min' => ['እሑድ', 'ሰኞ ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ጡዋት', 'ከሰዓት'], diff --git a/src/Carbon/Lang/anp_IN.php b/src/Carbon/Lang/anp_IN.php index 11069be3f3..00baa980a6 100644 --- a/src/Carbon/Lang/anp_IN.php +++ b/src/Carbon/Lang/anp_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'बृहस्पतिवार', 'शुक्रवार', 'शनिवार'], 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'], 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], ]); diff --git a/src/Carbon/Lang/as_IN.php b/src/Carbon/Lang/as_IN.php index 5fbc3dba35..f2499abf2f 100644 --- a/src/Carbon/Lang/as_IN.php +++ b/src/Carbon/Lang/as_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', 'বুধবাৰ', 'বৃহষ্পতিবাৰ', 'শুক্ৰবাৰ', 'শনিবাৰ'], 'weekdays_short' => ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', 'শুক্ৰ', 'শনি'], 'weekdays_min' => ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', 'শুক্ৰ', 'শনি'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['পূৰ্ব্বাহ্ন', 'অপৰাহ্ন'], diff --git a/src/Carbon/Lang/ayc_PE.php b/src/Carbon/Lang/ayc_PE.php index ff18504f0a..22374e007f 100644 --- a/src/Carbon/Lang/ayc_PE.php +++ b/src/Carbon/Lang/ayc_PE.php @@ -22,6 +22,7 @@ 'weekdays' => ['tuminku', 'lunisa', 'martisa', 'mirkulisa', 'juywisa', 'wirnisa', 'sawäru'], 'weekdays_short' => ['tum', 'lun', 'mar', 'mir', 'juy', 'wir', 'saw'], 'weekdays_min' => ['tum', 'lun', 'mar', 'mir', 'juy', 'wir', 'saw'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['VM', 'NM'], ]); diff --git a/src/Carbon/Lang/bhb_IN.php b/src/Carbon/Lang/bhb_IN.php index ab557cbf3a..fadbf77fb9 100644 --- a/src/Carbon/Lang/bhb_IN.php +++ b/src/Carbon/Lang/bhb_IN.php @@ -22,5 +22,6 @@ 'weekdays' => ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], 'weekdays_short' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], 'weekdays_min' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/bho_IN.php b/src/Carbon/Lang/bho_IN.php index bc54f36313..2f4cdfa029 100644 --- a/src/Carbon/Lang/bho_IN.php +++ b/src/Carbon/Lang/bho_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], diff --git a/src/Carbon/Lang/bi_VU.php b/src/Carbon/Lang/bi_VU.php index 1fe7770564..15d335c89c 100644 --- a/src/Carbon/Lang/bi_VU.php +++ b/src/Carbon/Lang/bi_VU.php @@ -14,6 +14,7 @@ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com & maninder1.s@samsung.com */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'dddd DD MMM YYYY', ], diff --git a/src/Carbon/Lang/brx_IN.php b/src/Carbon/Lang/brx_IN.php index 2d80ced20e..e678aa966d 100644 --- a/src/Carbon/Lang/brx_IN.php +++ b/src/Carbon/Lang/brx_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['रबिबार', 'सोबार', 'मंगलबार', 'बुदबार', 'बिसथिबार', 'सुखुरबार', 'सुनिबार'], 'weekdays_short' => ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'], 'weekdays_min' => ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['फुं.', 'बेलासे.'], ]); diff --git a/src/Carbon/Lang/ccp.php b/src/Carbon/Lang/ccp.php index ec616a7730..636e3a138f 100644 --- a/src/Carbon/Lang/ccp.php +++ b/src/Carbon/Lang/ccp.php @@ -23,4 +23,5 @@ 'LLL' => 'D MMMM, YYYY h:mm a', 'LLLL' => 'dddd, D MMMM, YYYY h:mm a', ], + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/chr_US.php b/src/Carbon/Lang/chr_US.php index 371353ef87..3fb022198b 100644 --- a/src/Carbon/Lang/chr_US.php +++ b/src/Carbon/Lang/chr_US.php @@ -22,6 +22,7 @@ 'weekdays' => ['ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ'], 'weekdays_short' => ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], 'weekdays_min' => ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ', 'ꮜꮎꮄ', 'ꮢꭿᏹꭲꮧꮲ'], diff --git a/src/Carbon/Lang/cmn_TW.php b/src/Carbon/Lang/cmn_TW.php index 7e43f9de31..eee9c806b8 100644 --- a/src/Carbon/Lang/cmn_TW.php +++ b/src/Carbon/Lang/cmn_TW.php @@ -14,6 +14,7 @@ * - bug-glibc-locales@gnu.org */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'YYYY年MM月DD號', ], diff --git a/src/Carbon/Lang/dav.php b/src/Carbon/Lang/dav.php index 79f021e18a..5bb8355c94 100644 --- a/src/Carbon/Lang/dav.php +++ b/src/Carbon/Lang/dav.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['Luma lwa K', 'luma lwa p'], 'weekdays' => ['Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', 'Kuramuka kasanu', 'Kifula nguwo'], 'weekdays_short' => ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], diff --git a/src/Carbon/Lang/doi_IN.php b/src/Carbon/Lang/doi_IN.php index d35972142b..f3d43ce383 100644 --- a/src/Carbon/Lang/doi_IN.php +++ b/src/Carbon/Lang/doi_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['ऐतबार', 'सोमबार', 'मंगलबर', 'बुधबार', 'बीरबार', 'शुक्करबार', 'श्नीचरबार'], 'weekdays_short' => ['ऐत', 'सोम', 'मंगल', 'बुध', 'बीर', 'शुक्कर', 'श्नीचर'], 'weekdays_min' => ['ऐत', 'सोम', 'मंगल', 'बुध', 'बीर', 'शुक्कर', 'श्नीचर'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['सञं', 'सबेर'], diff --git a/src/Carbon/Lang/dz_BT.php b/src/Carbon/Lang/dz_BT.php index bfbcaf468a..5c40142d20 100644 --- a/src/Carbon/Lang/dz_BT.php +++ b/src/Carbon/Lang/dz_BT.php @@ -22,6 +22,7 @@ 'weekdays' => ['གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་ཕ་', 'གཟའ་པུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་ཕ་', 'གཟའ་ཉི་མ་'], 'weekdays_short' => ['ཟླ་', 'མིར་', 'ལྷག་', 'པུར་', 'སངས་', 'སྤེན་', 'ཉི་'], 'weekdays_min' => ['ཟླ་', 'མིར་', 'ལྷག་', 'པུར་', 'སངས་', 'སྤེན་', 'ཉི་'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ངས་ཆ', 'ཕྱི་ཆ'], diff --git a/src/Carbon/Lang/ebu.php b/src/Carbon/Lang/ebu.php index 5aab48d9b0..8d152a688b 100644 --- a/src/Carbon/Lang/ebu.php +++ b/src/Carbon/Lang/ebu.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['KI', 'UT'], 'weekdays' => ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'], 'weekdays_short' => ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], diff --git a/src/Carbon/Lang/en.php b/src/Carbon/Lang/en.php index 028abdacb6..7da352dbe8 100644 --- a/src/Carbon/Lang/en.php +++ b/src/Carbon/Lang/en.php @@ -72,6 +72,6 @@ ); }, 'list' => [', ', ' and '], - 'first_day_of_week' => 0, + 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 1, ]; diff --git a/src/Carbon/Lang/en_001.php b/src/Carbon/Lang/en_001.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_001.php +++ b/src/Carbon/Lang/en_001.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_150.php b/src/Carbon/Lang/en_150.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_150.php +++ b/src/Carbon/Lang/en_150.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_AG.php b/src/Carbon/Lang/en_AG.php index 2c1c64f061..06c6e1ac1e 100644 --- a/src/Carbon/Lang/en_AG.php +++ b/src/Carbon/Lang/en_AG.php @@ -17,5 +17,4 @@ 'formats' => [ 'L' => 'DD/MM/YY', ], - 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/en_AI.php b/src/Carbon/Lang/en_AI.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_AI.php +++ b/src/Carbon/Lang/en_AI.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_AS.php b/src/Carbon/Lang/en_AS.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_AS.php +++ b/src/Carbon/Lang/en_AS.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_AT.php b/src/Carbon/Lang/en_AT.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_AT.php +++ b/src/Carbon/Lang/en_AT.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_AU.php b/src/Carbon/Lang/en_AU.php index f16bd4f549..d1df6144cf 100644 --- a/src/Carbon/Lang/en_AU.php +++ b/src/Carbon/Lang/en_AU.php @@ -26,6 +26,5 @@ 'LLL' => 'D MMMM YYYY h:mm A', 'LLLL' => 'dddd, D MMMM YYYY h:mm A', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_BB.php b/src/Carbon/Lang/en_BB.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_BB.php +++ b/src/Carbon/Lang/en_BB.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_BE.php b/src/Carbon/Lang/en_BE.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_BE.php +++ b/src/Carbon/Lang/en_BE.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_BI.php b/src/Carbon/Lang/en_BI.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_BI.php +++ b/src/Carbon/Lang/en_BI.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_BM.php b/src/Carbon/Lang/en_BM.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_BM.php +++ b/src/Carbon/Lang/en_BM.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_BS.php b/src/Carbon/Lang/en_BS.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_BS.php +++ b/src/Carbon/Lang/en_BS.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_BW.php b/src/Carbon/Lang/en_BW.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_BW.php +++ b/src/Carbon/Lang/en_BW.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_BZ.php b/src/Carbon/Lang/en_BZ.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_BZ.php +++ b/src/Carbon/Lang/en_BZ.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_CA.php b/src/Carbon/Lang/en_CA.php index e656086882..824571e080 100644 --- a/src/Carbon/Lang/en_CA.php +++ b/src/Carbon/Lang/en_CA.php @@ -26,4 +26,5 @@ 'LLL' => 'MMMM D, YYYY h:mm A', 'LLLL' => 'dddd, MMMM D, YYYY h:mm A', ], + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/en_CC.php b/src/Carbon/Lang/en_CC.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_CC.php +++ b/src/Carbon/Lang/en_CC.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_CH.php b/src/Carbon/Lang/en_CH.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_CH.php +++ b/src/Carbon/Lang/en_CH.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_CK.php b/src/Carbon/Lang/en_CK.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_CK.php +++ b/src/Carbon/Lang/en_CK.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_CM.php b/src/Carbon/Lang/en_CM.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_CM.php +++ b/src/Carbon/Lang/en_CM.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_CX.php b/src/Carbon/Lang/en_CX.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_CX.php +++ b/src/Carbon/Lang/en_CX.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_CY.php b/src/Carbon/Lang/en_CY.php index a44c3508e0..7dfb7210ea 100644 --- a/src/Carbon/Lang/en_CY.php +++ b/src/Carbon/Lang/en_CY.php @@ -23,6 +23,5 @@ 'LLL' => 'D MMMM YYYY HH:mm', 'LLLL' => 'dddd, D MMMM YYYY HH:mm', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_DE.php b/src/Carbon/Lang/en_DE.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_DE.php +++ b/src/Carbon/Lang/en_DE.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_DG.php b/src/Carbon/Lang/en_DG.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_DG.php +++ b/src/Carbon/Lang/en_DG.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_DK.php b/src/Carbon/Lang/en_DK.php index 9e8a8c68bb..9615e0438c 100644 --- a/src/Carbon/Lang/en_DK.php +++ b/src/Carbon/Lang/en_DK.php @@ -17,6 +17,5 @@ 'formats' => [ 'L' => 'YYYY-MM-DD', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_DM.php b/src/Carbon/Lang/en_DM.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_DM.php +++ b/src/Carbon/Lang/en_DM.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_ER.php b/src/Carbon/Lang/en_ER.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_ER.php +++ b/src/Carbon/Lang/en_ER.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_FI.php b/src/Carbon/Lang/en_FI.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_FI.php +++ b/src/Carbon/Lang/en_FI.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_FJ.php b/src/Carbon/Lang/en_FJ.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_FJ.php +++ b/src/Carbon/Lang/en_FJ.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_FK.php b/src/Carbon/Lang/en_FK.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_FK.php +++ b/src/Carbon/Lang/en_FK.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_FM.php b/src/Carbon/Lang/en_FM.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_FM.php +++ b/src/Carbon/Lang/en_FM.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_GB.php b/src/Carbon/Lang/en_GB.php index 67d9fd649c..6ba7101527 100644 --- a/src/Carbon/Lang/en_GB.php +++ b/src/Carbon/Lang/en_GB.php @@ -25,6 +25,5 @@ 'LLL' => 'D MMMM YYYY HH:mm', 'LLLL' => 'dddd, D MMMM YYYY HH:mm', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_GD.php b/src/Carbon/Lang/en_GD.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_GD.php +++ b/src/Carbon/Lang/en_GD.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_GG.php b/src/Carbon/Lang/en_GG.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_GG.php +++ b/src/Carbon/Lang/en_GG.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_GH.php b/src/Carbon/Lang/en_GH.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_GH.php +++ b/src/Carbon/Lang/en_GH.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_GI.php b/src/Carbon/Lang/en_GI.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_GI.php +++ b/src/Carbon/Lang/en_GI.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_GM.php b/src/Carbon/Lang/en_GM.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_GM.php +++ b/src/Carbon/Lang/en_GM.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_GU.php b/src/Carbon/Lang/en_GU.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_GU.php +++ b/src/Carbon/Lang/en_GU.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_GY.php b/src/Carbon/Lang/en_GY.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_GY.php +++ b/src/Carbon/Lang/en_GY.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_HK.php b/src/Carbon/Lang/en_HK.php index 34aae989b4..d0963b4e16 100644 --- a/src/Carbon/Lang/en_HK.php +++ b/src/Carbon/Lang/en_HK.php @@ -14,5 +14,5 @@ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org */ return array_replace_recursive(require __DIR__.'/en.php', [ - 'day_of_first_week_of_year' => 1, + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/en_IE.php b/src/Carbon/Lang/en_IE.php index c8d3c2fc95..62e5092f86 100644 --- a/src/Carbon/Lang/en_IE.php +++ b/src/Carbon/Lang/en_IE.php @@ -26,6 +26,5 @@ 'LLL' => 'D MMMM YYYY HH:mm', 'LLLL' => 'dddd D MMMM YYYY HH:mm', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_IL.php b/src/Carbon/Lang/en_IL.php index e607924e71..b6107a96c3 100644 --- a/src/Carbon/Lang/en_IL.php +++ b/src/Carbon/Lang/en_IL.php @@ -26,4 +26,5 @@ 'LLL' => 'D MMMM YYYY HH:mm', 'LLLL' => 'dddd, D MMMM YYYY HH:mm', ], + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/en_IM.php b/src/Carbon/Lang/en_IM.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_IM.php +++ b/src/Carbon/Lang/en_IM.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_IN.php b/src/Carbon/Lang/en_IN.php index 00414e9ad8..4a3f031462 100644 --- a/src/Carbon/Lang/en_IN.php +++ b/src/Carbon/Lang/en_IN.php @@ -22,5 +22,4 @@ 'LLL' => 'DD MMM HH:mm', 'LLLL' => 'MMMM DD, YYYY HH:mm', ], - 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/en_IO.php b/src/Carbon/Lang/en_IO.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_IO.php +++ b/src/Carbon/Lang/en_IO.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_ISO.php b/src/Carbon/Lang/en_ISO.php index 6ae11c9a5c..cac7d0fb27 100644 --- a/src/Carbon/Lang/en_ISO.php +++ b/src/Carbon/Lang/en_ISO.php @@ -17,4 +17,5 @@ 'LLL' => 'YYYY MMMM D HH:mm', 'LLLL' => 'dddd, YYYY MMMM DD HH:mm', ], + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/en_JE.php b/src/Carbon/Lang/en_JE.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_JE.php +++ b/src/Carbon/Lang/en_JE.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_JM.php b/src/Carbon/Lang/en_JM.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_JM.php +++ b/src/Carbon/Lang/en_JM.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_KE.php b/src/Carbon/Lang/en_KE.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_KE.php +++ b/src/Carbon/Lang/en_KE.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_KI.php b/src/Carbon/Lang/en_KI.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_KI.php +++ b/src/Carbon/Lang/en_KI.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_KN.php b/src/Carbon/Lang/en_KN.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_KN.php +++ b/src/Carbon/Lang/en_KN.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_KY.php b/src/Carbon/Lang/en_KY.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_KY.php +++ b/src/Carbon/Lang/en_KY.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_LC.php b/src/Carbon/Lang/en_LC.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_LC.php +++ b/src/Carbon/Lang/en_LC.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_LR.php b/src/Carbon/Lang/en_LR.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_LR.php +++ b/src/Carbon/Lang/en_LR.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_LS.php b/src/Carbon/Lang/en_LS.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_LS.php +++ b/src/Carbon/Lang/en_LS.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_MG.php b/src/Carbon/Lang/en_MG.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_MG.php +++ b/src/Carbon/Lang/en_MG.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_MH.php b/src/Carbon/Lang/en_MH.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_MH.php +++ b/src/Carbon/Lang/en_MH.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_MO.php b/src/Carbon/Lang/en_MO.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_MO.php +++ b/src/Carbon/Lang/en_MO.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_MP.php b/src/Carbon/Lang/en_MP.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_MP.php +++ b/src/Carbon/Lang/en_MP.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_MS.php b/src/Carbon/Lang/en_MS.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_MS.php +++ b/src/Carbon/Lang/en_MS.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_MT.php b/src/Carbon/Lang/en_MT.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_MT.php +++ b/src/Carbon/Lang/en_MT.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_MU.php b/src/Carbon/Lang/en_MU.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_MU.php +++ b/src/Carbon/Lang/en_MU.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_MW.php b/src/Carbon/Lang/en_MW.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_MW.php +++ b/src/Carbon/Lang/en_MW.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_MY.php b/src/Carbon/Lang/en_MY.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_MY.php +++ b/src/Carbon/Lang/en_MY.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_NA.php b/src/Carbon/Lang/en_NA.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_NA.php +++ b/src/Carbon/Lang/en_NA.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_NF.php b/src/Carbon/Lang/en_NF.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_NF.php +++ b/src/Carbon/Lang/en_NF.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_NG.php b/src/Carbon/Lang/en_NG.php index 1d0d34ff7d..ab577cdb16 100644 --- a/src/Carbon/Lang/en_NG.php +++ b/src/Carbon/Lang/en_NG.php @@ -12,6 +12,5 @@ 'formats' => [ 'L' => 'DD/MM/YY', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/en_NL.php b/src/Carbon/Lang/en_NL.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_NL.php +++ b/src/Carbon/Lang/en_NL.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_NR.php b/src/Carbon/Lang/en_NR.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_NR.php +++ b/src/Carbon/Lang/en_NR.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_NU.php b/src/Carbon/Lang/en_NU.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_NU.php +++ b/src/Carbon/Lang/en_NU.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_NZ.php b/src/Carbon/Lang/en_NZ.php index 6a206a0d0c..be65cd3e15 100644 --- a/src/Carbon/Lang/en_NZ.php +++ b/src/Carbon/Lang/en_NZ.php @@ -26,6 +26,5 @@ 'LLL' => 'D MMMM YYYY h:mm A', 'LLLL' => 'dddd, D MMMM YYYY h:mm A', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_PG.php b/src/Carbon/Lang/en_PG.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_PG.php +++ b/src/Carbon/Lang/en_PG.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_PH.php b/src/Carbon/Lang/en_PH.php index 34aae989b4..d0963b4e16 100644 --- a/src/Carbon/Lang/en_PH.php +++ b/src/Carbon/Lang/en_PH.php @@ -14,5 +14,5 @@ * - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org */ return array_replace_recursive(require __DIR__.'/en.php', [ - 'day_of_first_week_of_year' => 1, + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/en_PK.php b/src/Carbon/Lang/en_PK.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_PK.php +++ b/src/Carbon/Lang/en_PK.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_PN.php b/src/Carbon/Lang/en_PN.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_PN.php +++ b/src/Carbon/Lang/en_PN.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_PR.php b/src/Carbon/Lang/en_PR.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_PR.php +++ b/src/Carbon/Lang/en_PR.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_PW.php b/src/Carbon/Lang/en_PW.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_PW.php +++ b/src/Carbon/Lang/en_PW.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_RW.php b/src/Carbon/Lang/en_RW.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_RW.php +++ b/src/Carbon/Lang/en_RW.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SB.php b/src/Carbon/Lang/en_SB.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SB.php +++ b/src/Carbon/Lang/en_SB.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SC.php b/src/Carbon/Lang/en_SC.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SC.php +++ b/src/Carbon/Lang/en_SC.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SE.php b/src/Carbon/Lang/en_SE.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SE.php +++ b/src/Carbon/Lang/en_SE.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SG.php b/src/Carbon/Lang/en_SG.php index ed0b3f9360..2b5a275acb 100644 --- a/src/Carbon/Lang/en_SG.php +++ b/src/Carbon/Lang/en_SG.php @@ -18,6 +18,5 @@ 'LLL' => 'D MMMM YYYY HH:mm', 'LLLL' => 'dddd, D MMMM YYYY HH:mm', ], - 'first_day_of_week' => 1, 'day_of_first_week_of_year' => 4, ]); diff --git a/src/Carbon/Lang/en_SH.php b/src/Carbon/Lang/en_SH.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SH.php +++ b/src/Carbon/Lang/en_SH.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SI.php b/src/Carbon/Lang/en_SI.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SI.php +++ b/src/Carbon/Lang/en_SI.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SL.php b/src/Carbon/Lang/en_SL.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SL.php +++ b/src/Carbon/Lang/en_SL.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SS.php b/src/Carbon/Lang/en_SS.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SS.php +++ b/src/Carbon/Lang/en_SS.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SX.php b/src/Carbon/Lang/en_SX.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SX.php +++ b/src/Carbon/Lang/en_SX.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_SZ.php b/src/Carbon/Lang/en_SZ.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_SZ.php +++ b/src/Carbon/Lang/en_SZ.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_TC.php b/src/Carbon/Lang/en_TC.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_TC.php +++ b/src/Carbon/Lang/en_TC.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_TK.php b/src/Carbon/Lang/en_TK.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_TK.php +++ b/src/Carbon/Lang/en_TK.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_TO.php b/src/Carbon/Lang/en_TO.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_TO.php +++ b/src/Carbon/Lang/en_TO.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_TT.php b/src/Carbon/Lang/en_TT.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_TT.php +++ b/src/Carbon/Lang/en_TT.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_TV.php b/src/Carbon/Lang/en_TV.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_TV.php +++ b/src/Carbon/Lang/en_TV.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_TZ.php b/src/Carbon/Lang/en_TZ.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_TZ.php +++ b/src/Carbon/Lang/en_TZ.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_UG.php b/src/Carbon/Lang/en_UG.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_UG.php +++ b/src/Carbon/Lang/en_UG.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_UM.php b/src/Carbon/Lang/en_UM.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_UM.php +++ b/src/Carbon/Lang/en_UM.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_US.php b/src/Carbon/Lang/en_US.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_US.php +++ b/src/Carbon/Lang/en_US.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_US_Posix.php b/src/Carbon/Lang/en_US_Posix.php index 31f60e191d..cd1bbc9845 100644 --- a/src/Carbon/Lang/en_US_Posix.php +++ b/src/Carbon/Lang/en_US_Posix.php @@ -8,4 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return require __DIR__.'/en_US.php'; diff --git a/src/Carbon/Lang/en_VC.php b/src/Carbon/Lang/en_VC.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_VC.php +++ b/src/Carbon/Lang/en_VC.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_VG.php b/src/Carbon/Lang/en_VG.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_VG.php +++ b/src/Carbon/Lang/en_VG.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_VI.php b/src/Carbon/Lang/en_VI.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_VI.php +++ b/src/Carbon/Lang/en_VI.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_VU.php b/src/Carbon/Lang/en_VU.php index 9f2a3f7405..31f60e191d 100644 --- a/src/Carbon/Lang/en_VU.php +++ b/src/Carbon/Lang/en_VU.php @@ -8,6 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/en.php', [ - 'first_day_of_week' => 1, -]); +return require __DIR__.'/en.php'; diff --git a/src/Carbon/Lang/en_WS.php b/src/Carbon/Lang/en_WS.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_WS.php +++ b/src/Carbon/Lang/en_WS.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/en_ZA.php b/src/Carbon/Lang/en_ZA.php index 48ea9471cf..54d8d88185 100644 --- a/src/Carbon/Lang/en_ZA.php +++ b/src/Carbon/Lang/en_ZA.php @@ -22,5 +22,4 @@ 'LLL' => 'DD MMM HH:mm', 'LLLL' => 'MMMM DD, YYYY HH:mm', ], - 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/en_ZM.php b/src/Carbon/Lang/en_ZM.php index d8a8cb5987..c6bc0b2ff5 100644 --- a/src/Carbon/Lang/en_ZM.php +++ b/src/Carbon/Lang/en_ZM.php @@ -17,6 +17,4 @@ 'formats' => [ 'L' => 'DD/MM/YY', ], - 'first_day_of_week' => 1, - 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/en_ZW.php b/src/Carbon/Lang/en_ZW.php index 31f60e191d..96edf3f8b4 100644 --- a/src/Carbon/Lang/en_ZW.php +++ b/src/Carbon/Lang/en_ZW.php @@ -8,4 +8,6 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return require __DIR__.'/en.php'; +return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, +]); diff --git a/src/Carbon/Lang/fil_PH.php b/src/Carbon/Lang/fil_PH.php index bcf1580782..60751dd539 100644 --- a/src/Carbon/Lang/fil_PH.php +++ b/src/Carbon/Lang/fil_PH.php @@ -23,6 +23,7 @@ 'weekdays' => ['Linggo', 'Lunes', 'Martes', 'Miyerkoles', 'Huwebes', 'Biyernes', 'Sabado'], 'weekdays_short' => ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], 'weekdays_min' => ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['N.U.', 'N.H.'], diff --git a/src/Carbon/Lang/gez_ET.php b/src/Carbon/Lang/gez_ET.php index 393300962a..857954981a 100644 --- a/src/Carbon/Lang/gez_ET.php +++ b/src/Carbon/Lang/gez_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['እኁድ', 'ሰኑይ', 'ሠሉስ', 'ራብዕ', 'ሐሙስ', 'ዓርበ', 'ቀዳሚት'], 'weekdays_short' => ['እኁድ', 'ሰኑይ', 'ሠሉስ', 'ራብዕ', 'ሐሙስ', 'ዓርበ', 'ቀዳሚ'], 'weekdays_min' => ['እኁድ', 'ሰኑይ', 'ሠሉስ', 'ራብዕ', 'ሐሙስ', 'ዓርበ', 'ቀዳሚ'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ጽባሕ', 'ምሴት'], ]); diff --git a/src/Carbon/Lang/guz.php b/src/Carbon/Lang/guz.php index aa9769ce75..fd75920bf4 100644 --- a/src/Carbon/Lang/guz.php +++ b/src/Carbon/Lang/guz.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['Ma', 'Mo'], 'weekdays' => ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'], 'weekdays_short' => ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], diff --git a/src/Carbon/Lang/hak_TW.php b/src/Carbon/Lang/hak_TW.php index fe23986504..2a3bc96140 100644 --- a/src/Carbon/Lang/hak_TW.php +++ b/src/Carbon/Lang/hak_TW.php @@ -22,6 +22,7 @@ 'weekdays' => ['禮拜日', '禮拜一', '禮拜二', '禮拜三', '禮拜四', '禮拜五', '禮拜六'], 'weekdays_short' => ['日', '一', '二', '三', '四', '五', '六'], 'weekdays_min' => ['日', '一', '二', '三', '四', '五', '六'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['上晝', '下晝'], diff --git a/src/Carbon/Lang/haw.php b/src/Carbon/Lang/haw.php index 51715d8e62..bd8ede4280 100644 --- a/src/Carbon/Lang/haw.php +++ b/src/Carbon/Lang/haw.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'months' => ['Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa'], 'months_short' => ['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.'], 'weekdays' => ['Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono'], diff --git a/src/Carbon/Lang/hif_FJ.php b/src/Carbon/Lang/hif_FJ.php index 30ad5e74c8..54e880e369 100644 --- a/src/Carbon/Lang/hif_FJ.php +++ b/src/Carbon/Lang/hif_FJ.php @@ -14,6 +14,7 @@ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'dddd DD MMM YYYY', ], diff --git a/src/Carbon/Lang/hne_IN.php b/src/Carbon/Lang/hne_IN.php index a5ca758b65..27b3b396a9 100644 --- a/src/Carbon/Lang/hne_IN.php +++ b/src/Carbon/Lang/hne_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['इतवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'बिरसपत', 'सुकरवार', 'सनिवार'], 'weekdays_short' => ['इत', 'सोम', 'मंग', 'बुध', 'बिर', 'सुक', 'सनि'], 'weekdays_min' => ['इत', 'सोम', 'मंग', 'बुध', 'बिर', 'सुक', 'सनि'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['बिहिनियाँ', 'मंझनियाँ'], ]); diff --git a/src/Carbon/Lang/ii.php b/src/Carbon/Lang/ii.php index 30f83740fd..d6dbd0fd59 100644 --- a/src/Carbon/Lang/ii.php +++ b/src/Carbon/Lang/ii.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['ꎸꄑ', 'ꁯꋒ'], 'weekdays' => ['ꑭꆏꑍ', 'ꆏꊂꋍ', 'ꆏꊂꑍ', 'ꆏꊂꌕ', 'ꆏꊂꇖ', 'ꆏꊂꉬ', 'ꆏꊂꃘ'], 'weekdays_short' => ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], diff --git a/src/Carbon/Lang/ik_CA.php b/src/Carbon/Lang/ik_CA.php index bb2a109b94..02dbbef222 100644 --- a/src/Carbon/Lang/ik_CA.php +++ b/src/Carbon/Lang/ik_CA.php @@ -22,6 +22,7 @@ 'weekdays' => ['Minġuiqsioiq', 'Savałłiq', 'Ilaqtchiioiq', 'Qitchiioiq', 'Sisamiioiq', 'Tallimmiioiq', 'Maqinġuoiq'], 'weekdays_short' => ['Min', 'Sav', 'Ila', 'Qit', 'Sis', 'Tal', 'Maq'], 'weekdays_min' => ['Min', 'Sav', 'Ila', 'Qit', 'Sis', 'Tal', 'Maq'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => ':count ukiuq', diff --git a/src/Carbon/Lang/iu_CA.php b/src/Carbon/Lang/iu_CA.php index 6ab7e1497f..5acee93905 100644 --- a/src/Carbon/Lang/iu_CA.php +++ b/src/Carbon/Lang/iu_CA.php @@ -22,6 +22,7 @@ 'weekdays' => ['ᓈᑦᑎᖑᔭᕐᕕᒃ', 'ᓇᒡᒐᔾᔭᐅ', 'ᓇᒡᒐᔾᔭᐅᓕᖅᑭᑦ', 'ᐱᖓᓲᓕᖅᓯᐅᑦ', 'ᕿᑎᖅᑰᑦ', 'ᐅᓪᓗᕈᓘᑐᐃᓇᖅ', 'ᓯᕙᑖᕕᒃ'], 'weekdays_short' => ['ᓈ', 'ᓇ', 'ᓕ', 'ᐱ', 'ᕿ', 'ᐅ', 'ᓯ'], 'weekdays_min' => ['ᓈ', 'ᓇ', 'ᓕ', 'ᐱ', 'ᕿ', 'ᐅ', 'ᓯ'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => ':count ᐅᑭᐅᖅ', diff --git a/src/Carbon/Lang/iw.php b/src/Carbon/Lang/iw.php index a8034e8377..27da2a53f8 100644 --- a/src/Carbon/Lang/iw.php +++ b/src/Carbon/Lang/iw.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'months' => ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'], 'months_short' => ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'], 'weekdays' => ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'], diff --git a/src/Carbon/Lang/jgo.php b/src/Carbon/Lang/jgo.php index bad6beb7cd..96edf3f8b4 100644 --- a/src/Carbon/Lang/jgo.php +++ b/src/Carbon/Lang/jgo.php @@ -9,4 +9,5 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/kam.php b/src/Carbon/Lang/kam.php index 0fb6b2eaff..a7486ddfc8 100644 --- a/src/Carbon/Lang/kam.php +++ b/src/Carbon/Lang/kam.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['Ĩyakwakya', 'Ĩyawĩoo'], 'weekdays' => ['Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', 'Wa thanthatũ'], 'weekdays_short' => ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], diff --git a/src/Carbon/Lang/ki.php b/src/Carbon/Lang/ki.php index 5754ffc15f..f463e7eec2 100644 --- a/src/Carbon/Lang/ki.php +++ b/src/Carbon/Lang/ki.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['Kiroko', 'Hwaĩ-inĩ'], 'weekdays' => ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'], 'weekdays_short' => ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], diff --git a/src/Carbon/Lang/kkj.php b/src/Carbon/Lang/kkj.php index bad6beb7cd..96edf3f8b4 100644 --- a/src/Carbon/Lang/kkj.php +++ b/src/Carbon/Lang/kkj.php @@ -9,4 +9,5 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/kln.php b/src/Carbon/Lang/kln.php index b034ba507b..8647a3bf7d 100644 --- a/src/Carbon/Lang/kln.php +++ b/src/Carbon/Lang/kln.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['krn', 'koosk'], 'weekdays' => ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'], 'weekdays_short' => ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], diff --git a/src/Carbon/Lang/kok_IN.php b/src/Carbon/Lang/kok_IN.php index 92ba844c5c..c6110d595b 100644 --- a/src/Carbon/Lang/kok_IN.php +++ b/src/Carbon/Lang/kok_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['आयतार', 'सोमार', 'मंगळवार', 'बुधवार', 'बेरेसतार', 'शुकरार', 'शेनवार'], 'weekdays_short' => ['आयतार', 'सोमार', 'मंगळवार', 'बुधवार', 'बेरेसतार', 'शुकरार', 'शेनवार'], 'weekdays_min' => ['आयतार', 'सोमार', 'मंगळवार', 'बुधवार', 'बेरेसतार', 'शुकरार', 'शेनवार'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['म.पू.', 'म.नं.'], diff --git a/src/Carbon/Lang/ks_IN.php b/src/Carbon/Lang/ks_IN.php index ce9d5d4ae9..4ec598fd14 100644 --- a/src/Carbon/Lang/ks_IN.php +++ b/src/Carbon/Lang/ks_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['آتهوار', 'ژءندروار', 'بوءںوار', 'بودهوار', 'برىسوار', 'جمع', 'بٹوار'], 'weekdays_short' => ['آتهوار', 'ژءنتروار', 'بوءںوار', 'بودهوار', 'برىسوار', 'جمع', 'بٹوار'], 'weekdays_min' => ['آتهوار', 'ژءنتروار', 'بوءںوار', 'بودهوار', 'برىسوار', 'جمع', 'بٹوار'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['دوپھربرونھ', 'دوپھرپتھ'], diff --git a/src/Carbon/Lang/ks_IN@devanagari.php b/src/Carbon/Lang/ks_IN@devanagari.php index a2ae8b64f9..0708f3ff12 100644 --- a/src/Carbon/Lang/ks_IN@devanagari.php +++ b/src/Carbon/Lang/ks_IN@devanagari.php @@ -22,6 +22,7 @@ 'weekdays' => ['आथवार', 'चॅ़दुरवार', 'बोमवार', 'ब्वदवार', 'ब्रसवार', 'शोकुरवार', 'बटुवार'], 'weekdays_short' => ['आथ ', 'चॅ़दुर', 'बोम', 'ब्वद', 'ब्रस', 'शोकुर', 'बटु'], 'weekdays_min' => ['आथ ', 'चॅ़दुर', 'बोम', 'ब्वद', 'ब्रस', 'शोकुर', 'बटु'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], ]); diff --git a/src/Carbon/Lang/lkt.php b/src/Carbon/Lang/lkt.php index 968b0588f5..ba44823253 100644 --- a/src/Carbon/Lang/lkt.php +++ b/src/Carbon/Lang/lkt.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'month' => ':count haŋwí', // less reliable 'm' => ':count haŋwí', // less reliable diff --git a/src/Carbon/Lang/lrc.php b/src/Carbon/Lang/lrc.php index 10661bb090..d965c419be 100644 --- a/src/Carbon/Lang/lrc.php +++ b/src/Carbon/Lang/lrc.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'minute' => ':count هنر', // less reliable 'min' => ':count هنر', // less reliable diff --git a/src/Carbon/Lang/lrc_IQ.php b/src/Carbon/Lang/lrc_IQ.php index 449d863223..95597f3b6d 100644 --- a/src/Carbon/Lang/lrc_IQ.php +++ b/src/Carbon/Lang/lrc_IQ.php @@ -8,5 +8,4 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -return array_replace_recursive(require __DIR__.'/lrc.php', [ -]); +return require __DIR__.'/lrc.php'; diff --git a/src/Carbon/Lang/luo.php b/src/Carbon/Lang/luo.php index 201ca9692e..f437733c1b 100644 --- a/src/Carbon/Lang/luo.php +++ b/src/Carbon/Lang/luo.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['OD', 'OT'], 'weekdays' => ['Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso'], 'weekdays_short' => ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], diff --git a/src/Carbon/Lang/luy.php b/src/Carbon/Lang/luy.php index 5219125374..6d427238e4 100644 --- a/src/Carbon/Lang/luy.php +++ b/src/Carbon/Lang/luy.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'weekdays' => ['Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', 'Jumamosi'], 'weekdays_short' => ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], 'weekdays_min' => ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], diff --git a/src/Carbon/Lang/lzh_TW.php b/src/Carbon/Lang/lzh_TW.php index 3b1493eef1..771394e83f 100644 --- a/src/Carbon/Lang/lzh_TW.php +++ b/src/Carbon/Lang/lzh_TW.php @@ -22,6 +22,7 @@ 'weekdays' => ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], 'weekdays_short' => ['日', '一', '二', '三', '四', '五', '六'], 'weekdays_min' => ['日', '一', '二', '三', '四', '五', '六'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'alt_numbers' => ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二', '十三', '十四', '十五', '十六', '十七', '十八', '十九', '廿', '廿一', '廿二', '廿三', '廿四', '廿五', '廿六', '廿七', '廿八', '廿九', '卅', '卅一'], 'meridiem' => ['朝', '暮'], diff --git a/src/Carbon/Lang/mag_IN.php b/src/Carbon/Lang/mag_IN.php index 193f67a7ed..8797765417 100644 --- a/src/Carbon/Lang/mag_IN.php +++ b/src/Carbon/Lang/mag_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['एतवार', 'सोमार', 'मंगर', 'बुध', 'बिफे', 'सूक', 'सनिचर'], 'weekdays_short' => ['एतवार', 'सोमार', 'मंगर', 'बुध', 'बिफे', 'सूक', 'सनिचर'], 'weekdays_min' => ['एतवार', 'सोमार', 'मंगर', 'बुध', 'बिफे', 'सूक', 'सनिचर'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], ]); diff --git a/src/Carbon/Lang/mai_IN.php b/src/Carbon/Lang/mai_IN.php index 03049d4586..3f9bba779a 100644 --- a/src/Carbon/Lang/mai_IN.php +++ b/src/Carbon/Lang/mai_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['रविदिन', 'सोमदिन', 'मंगलदिन', 'बुधदिन', 'बृहस्पतीदिन', 'शुक्रदिन', 'शनीदिन'], 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पती', 'शुक्र', 'शनी'], 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पती', 'शुक्र', 'शनी'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], diff --git a/src/Carbon/Lang/mas.php b/src/Carbon/Lang/mas.php index 723ae67e2a..4a7f81d08c 100644 --- a/src/Carbon/Lang/mas.php +++ b/src/Carbon/Lang/mas.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['Ɛnkakɛnyá', 'Ɛndámâ'], 'weekdays' => ['Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi'], 'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], diff --git a/src/Carbon/Lang/mer.php b/src/Carbon/Lang/mer.php index cb7ba8d7ed..0ed985c7f2 100644 --- a/src/Carbon/Lang/mer.php +++ b/src/Carbon/Lang/mer.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['RŨ', 'ŨG'], 'weekdays' => ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'], 'weekdays_short' => ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], diff --git a/src/Carbon/Lang/mfe_MU.php b/src/Carbon/Lang/mfe_MU.php index 2d27b4578d..ef51ce7dc4 100644 --- a/src/Carbon/Lang/mfe_MU.php +++ b/src/Carbon/Lang/mfe_MU.php @@ -14,6 +14,7 @@ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'DD/MM/YY', ], diff --git a/src/Carbon/Lang/mgh.php b/src/Carbon/Lang/mgh.php index 65798a80d2..102004594e 100644 --- a/src/Carbon/Lang/mgh.php +++ b/src/Carbon/Lang/mgh.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['wichishu', 'mchochil’l'], 'weekdays' => ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'], 'weekdays_short' => ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], diff --git a/src/Carbon/Lang/mni_IN.php b/src/Carbon/Lang/mni_IN.php index 45d430ef94..4dc577c38e 100644 --- a/src/Carbon/Lang/mni_IN.php +++ b/src/Carbon/Lang/mni_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['নোংমাইজিং', 'নিংথৌকাবা', 'লৈবাকপোকপা', 'য়ুমশকৈশা', 'শগোলশেন', 'ইরাই', 'থাংজ'], 'weekdays_short' => ['নোং', 'নিং', 'লৈবাক', 'য়ুম', 'শগোল', 'ইরা', 'থাং'], 'weekdays_min' => ['নোং', 'নিং', 'লৈবাক', 'য়ুম', 'শগোল', 'ইরা', 'থাং'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['এ.ম.', 'প.ম.'], diff --git a/src/Carbon/Lang/nan_TW.php b/src/Carbon/Lang/nan_TW.php index 5c50aa48d2..4fc6548162 100644 --- a/src/Carbon/Lang/nan_TW.php +++ b/src/Carbon/Lang/nan_TW.php @@ -22,6 +22,7 @@ 'weekdays' => ['禮拜日', '禮拜一', '禮拜二', '禮拜三', '禮拜四', '禮拜五', '禮拜六'], 'weekdays_short' => ['日', '一', '二', '三', '四', '五', '六'], 'weekdays_min' => ['日', '一', '二', '三', '四', '五', '六'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['頂晡', '下晡'], diff --git a/src/Carbon/Lang/nan_TW@latin.php b/src/Carbon/Lang/nan_TW@latin.php index 99ca2a425e..5eecc63a8c 100644 --- a/src/Carbon/Lang/nan_TW@latin.php +++ b/src/Carbon/Lang/nan_TW@latin.php @@ -22,6 +22,7 @@ 'weekdays' => ['lé-pài-ji̍t', 'pài-it', 'pài-jī', 'pài-saⁿ', 'pài-sì', 'pài-gō͘', 'pài-la̍k'], 'weekdays_short' => ['lp', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6'], 'weekdays_min' => ['lp', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['téng-po͘', 'ē-po͘'], ]); diff --git a/src/Carbon/Lang/nd.php b/src/Carbon/Lang/nd.php index d6fdaad3fd..bee14df75b 100644 --- a/src/Carbon/Lang/nd.php +++ b/src/Carbon/Lang/nd.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'weekdays' => ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'], 'weekdays_short' => ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], 'weekdays_min' => ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], diff --git a/src/Carbon/Lang/nhn_MX.php b/src/Carbon/Lang/nhn_MX.php index 9db88a1281..8d06d50924 100644 --- a/src/Carbon/Lang/nhn_MX.php +++ b/src/Carbon/Lang/nhn_MX.php @@ -22,6 +22,7 @@ 'weekdays' => ['teoilhuitl', 'ceilhuitl', 'omeilhuitl', 'yeilhuitl', 'nahuilhuitl', 'macuililhuitl', 'chicuaceilhuitl'], 'weekdays_short' => ['teo', 'cei', 'ome', 'yei', 'nau', 'mac', 'chi'], 'weekdays_min' => ['teo', 'cei', 'ome', 'yei', 'nau', 'mac', 'chi'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'month' => ':count metztli', // less reliable diff --git a/src/Carbon/Lang/nr_ZA.php b/src/Carbon/Lang/nr_ZA.php index f9a7be82e4..509375982f 100644 --- a/src/Carbon/Lang/nr_ZA.php +++ b/src/Carbon/Lang/nr_ZA.php @@ -23,4 +23,5 @@ 'weekdays_short' => ['Son', 'Mvu', 'Bil', 'Tha', 'Ne', 'Hla', 'Gqi'], 'weekdays_min' => ['Son', 'Mvu', 'Bil', 'Tha', 'Ne', 'Hla', 'Gqi'], 'day_of_first_week_of_year' => 1, + 'first_day_of_week' => 0, ]); diff --git a/src/Carbon/Lang/nso_ZA.php b/src/Carbon/Lang/nso_ZA.php index b08fe6dcd8..93da1e78a6 100644 --- a/src/Carbon/Lang/nso_ZA.php +++ b/src/Carbon/Lang/nso_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['LaMorena', 'Mošupologo', 'Labobedi', 'Laboraro', 'Labone', 'Labohlano', 'Mokibelo'], 'weekdays_short' => ['Son', 'Moš', 'Bed', 'Rar', 'Ne', 'Hla', 'Mok'], 'weekdays_min' => ['Son', 'Moš', 'Bed', 'Rar', 'Ne', 'Hla', 'Mok'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => ':count ngwaga', diff --git a/src/Carbon/Lang/om.php b/src/Carbon/Lang/om.php index b8d5a0b01c..3c72dc9e57 100644 --- a/src/Carbon/Lang/om.php +++ b/src/Carbon/Lang/om.php @@ -27,6 +27,7 @@ 'weekdays' => ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'], 'weekdays_short' => ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], 'weekdays_min' => ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['WD', 'WB'], diff --git a/src/Carbon/Lang/pa_PK.php b/src/Carbon/Lang/pa_PK.php index f9af11c60c..494a87767b 100644 --- a/src/Carbon/Lang/pa_PK.php +++ b/src/Carbon/Lang/pa_PK.php @@ -22,6 +22,7 @@ 'weekdays' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'هفته'], 'weekdays_short' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'هفته'], 'weekdays_min' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'هفته'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ص', 'ش'], ]); diff --git a/src/Carbon/Lang/quz_PE.php b/src/Carbon/Lang/quz_PE.php index d322918935..b047e5970a 100644 --- a/src/Carbon/Lang/quz_PE.php +++ b/src/Carbon/Lang/quz_PE.php @@ -22,6 +22,7 @@ 'weekdays' => ['tuminku', 'lunis', 'martis', 'miyirkulis', 'juywis', 'wiyirnis', 'sawatu'], 'weekdays_short' => ['tum', 'lun', 'mar', 'miy', 'juy', 'wiy', 'saw'], 'weekdays_min' => ['tum', 'lun', 'mar', 'miy', 'juy', 'wiy', 'saw'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'minute' => ':count uchuy', // less reliable diff --git a/src/Carbon/Lang/raj_IN.php b/src/Carbon/Lang/raj_IN.php index 7b4589cd31..4a9f0b9d33 100644 --- a/src/Carbon/Lang/raj_IN.php +++ b/src/Carbon/Lang/raj_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['रविवार', 'सोमवार', 'मंगल्लवार', 'बुधवार', 'बृहस्पतिवार', 'शुक्रवार', 'शनिवार'], 'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'], 'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], diff --git a/src/Carbon/Lang/sa_IN.php b/src/Carbon/Lang/sa_IN.php index cfda9a6367..f2489e8ded 100644 --- a/src/Carbon/Lang/sa_IN.php +++ b/src/Carbon/Lang/sa_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['रविवासर:', 'सोमवासर:', 'मंगलवासर:', 'बुधवासर:', 'बृहस्पतिवासरः', 'शुक्रवासर', 'शनिवासर:'], 'weekdays_short' => ['रविः', 'सोम:', 'मंगल:', 'बुध:', 'बृहस्पतिः', 'शुक्र', 'शनि:'], 'weekdays_min' => ['रविः', 'सोम:', 'मंगल:', 'बुध:', 'बृहस्पतिः', 'शुक्र', 'शनि:'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], diff --git a/src/Carbon/Lang/saq.php b/src/Carbon/Lang/saq.php index eebfac999b..9fc31eb83e 100644 --- a/src/Carbon/Lang/saq.php +++ b/src/Carbon/Lang/saq.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'meridiem' => ['Tesiran', 'Teipa'], 'weekdays' => ['Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', 'Mderot ee ile', 'Mderot ee sapa', 'Mderot ee kwe'], 'weekdays_short' => ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], diff --git a/src/Carbon/Lang/sat_IN.php b/src/Carbon/Lang/sat_IN.php index 632b1af6bc..6c3608b2dc 100644 --- a/src/Carbon/Lang/sat_IN.php +++ b/src/Carbon/Lang/sat_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['सिंगेमाँहाँ', 'ओतेमाँहाँ', 'बालेमाँहाँ', 'सागुनमाँहाँ', 'सारदीमाँहाँ', 'जारुममाँहाँ', 'ञुहुममाँहाँ'], 'weekdays_short' => ['सिंगे', 'ओते', 'बाले', 'सागुन', 'सारदी', 'जारुम', 'ञुहुम'], 'weekdays_min' => ['सिंगे', 'ओते', 'बाले', 'सागुन', 'सारदी', 'जारुम', 'ञुहुम'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'month' => ':count ńindạ cando', // less reliable diff --git a/src/Carbon/Lang/seh.php b/src/Carbon/Lang/seh.php index 3ad889ab4e..ecdf2e1748 100644 --- a/src/Carbon/Lang/seh.php +++ b/src/Carbon/Lang/seh.php @@ -9,6 +9,7 @@ * file that was distributed with this source code. */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'weekdays' => ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'], 'weekdays_short' => ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], 'weekdays_min' => ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], diff --git a/src/Carbon/Lang/shn_MM.php b/src/Carbon/Lang/shn_MM.php index c3f792c166..7656bcba3b 100644 --- a/src/Carbon/Lang/shn_MM.php +++ b/src/Carbon/Lang/shn_MM.php @@ -14,6 +14,7 @@ * - ubuntu Myanmar LoCo Team http://www.ubuntu-mm.net Bone Pyae Sone bone.burma@mail.com */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'OY MMM OD dddd', ], diff --git a/src/Carbon/Lang/shs_CA.php b/src/Carbon/Lang/shs_CA.php index 08d385e660..f41c34df6d 100644 --- a/src/Carbon/Lang/shs_CA.php +++ b/src/Carbon/Lang/shs_CA.php @@ -22,6 +22,7 @@ 'weekdays' => ['Sxetspesq̓t', 'Spetkesq̓t', 'Selesq̓t', 'Skellesq̓t', 'Smesesq̓t', 'Stselkstesq̓t', 'Stqmekstesq̓t'], 'weekdays_short' => ['Sxe', 'Spe', 'Sel', 'Ske', 'Sme', 'Sts', 'Stq'], 'weekdays_min' => ['Sxe', 'Spe', 'Sel', 'Ske', 'Sme', 'Sts', 'Stq'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => ':count sqlélten', // less reliable diff --git a/src/Carbon/Lang/sid_ET.php b/src/Carbon/Lang/sid_ET.php index 1296f9be70..5e9632d19f 100644 --- a/src/Carbon/Lang/sid_ET.php +++ b/src/Carbon/Lang/sid_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['Sambata', 'Sanyo', 'Maakisanyo', 'Roowe', 'Hamuse', 'Arbe', 'Qidaame'], 'weekdays_short' => ['Sam', 'San', 'Mak', 'Row', 'Ham', 'Arb', 'Qid'], 'weekdays_min' => ['Sam', 'San', 'Mak', 'Row', 'Ham', 'Arb', 'Qid'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['soodo', 'hawwaro'], ]); diff --git a/src/Carbon/Lang/sm_WS.php b/src/Carbon/Lang/sm_WS.php index f066068715..1568af6eda 100644 --- a/src/Carbon/Lang/sm_WS.php +++ b/src/Carbon/Lang/sm_WS.php @@ -14,6 +14,7 @@ * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'DD/MM/YYYY', ], diff --git a/src/Carbon/Lang/so_ET.php b/src/Carbon/Lang/so_ET.php index cce66c1427..980d2ef10a 100644 --- a/src/Carbon/Lang/so_ET.php +++ b/src/Carbon/Lang/so_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['Axad', 'Isniin', 'Salaaso', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], 'weekdays_short' => ['Axd', 'Isn', 'Sal', 'Arb', 'Kha', 'Jim', 'Sab'], 'weekdays_min' => ['Axd', 'Isn', 'Sal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['subaxnimo', 'galabnimo'], ]); diff --git a/src/Carbon/Lang/so_KE.php b/src/Carbon/Lang/so_KE.php index cce66c1427..980d2ef10a 100644 --- a/src/Carbon/Lang/so_KE.php +++ b/src/Carbon/Lang/so_KE.php @@ -22,6 +22,7 @@ 'weekdays' => ['Axad', 'Isniin', 'Salaaso', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'], 'weekdays_short' => ['Axd', 'Isn', 'Sal', 'Arb', 'Kha', 'Jim', 'Sab'], 'weekdays_min' => ['Axd', 'Isn', 'Sal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['subaxnimo', 'galabnimo'], ]); diff --git a/src/Carbon/Lang/st_ZA.php b/src/Carbon/Lang/st_ZA.php index 5bce7f20f6..5eee2224cc 100644 --- a/src/Carbon/Lang/st_ZA.php +++ b/src/Carbon/Lang/st_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['Sontaha', 'Mantaha', 'Labobedi', 'Laboraro', 'Labone', 'Labohlano', 'Moqebelo'], 'weekdays_short' => ['Son', 'Mma', 'Bed', 'Rar', 'Ne', 'Hla', 'Moq'], 'weekdays_min' => ['Son', 'Mma', 'Bed', 'Rar', 'Ne', 'Hla', 'Moq'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'week' => ':count Sontaha', // less reliable diff --git a/src/Carbon/Lang/tcy_IN.php b/src/Carbon/Lang/tcy_IN.php index 2ff20e0e66..f2bbf1037c 100644 --- a/src/Carbon/Lang/tcy_IN.php +++ b/src/Carbon/Lang/tcy_IN.php @@ -22,6 +22,7 @@ 'weekdays' => ['ಐಥಾರ', 'ಸೋಮಾರ', 'ಅಂಗರೆ', 'ಬುಧಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರರ', 'ಶನಿವಾರ'], 'weekdays_short' => ['ಐ', 'ಸೋ', 'ಅಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], 'weekdays_min' => ['ಐ', 'ಸೋ', 'ಅಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ಕಾಂಡೆ', 'ಬಯ್ಯ'], diff --git a/src/Carbon/Lang/the_NP.php b/src/Carbon/Lang/the_NP.php index 34da162789..cdb02b2cae 100644 --- a/src/Carbon/Lang/the_NP.php +++ b/src/Carbon/Lang/the_NP.php @@ -22,6 +22,7 @@ 'weekdays' => ['आइतबार', 'सोमबार', 'मंगलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'], 'weekdays_short' => ['आइत', 'सोम', 'मंगल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], 'weekdays_min' => ['आइत', 'सोम', 'मंगल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['पूर्वाह्न', 'अपराह्न'], ]); diff --git a/src/Carbon/Lang/ti_ET.php b/src/Carbon/Lang/ti_ET.php index 024217f2fd..a8160698a6 100644 --- a/src/Carbon/Lang/ti_ET.php +++ b/src/Carbon/Lang/ti_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['ሰንበት', 'ሰኑይ', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'ዓርቢ', 'ቀዳም'], 'weekdays_short' => ['ሰንበ', 'ሰኑይ', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'ዓርቢ', 'ቀዳም'], 'weekdays_min' => ['ሰንበ', 'ሰኑይ', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'ዓርቢ', 'ቀዳም'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ንጉሆ ሰዓተ', 'ድሕር ሰዓት'], ]); diff --git a/src/Carbon/Lang/tn_ZA.php b/src/Carbon/Lang/tn_ZA.php index aada7db58a..e3df8f68ea 100644 --- a/src/Carbon/Lang/tn_ZA.php +++ b/src/Carbon/Lang/tn_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['laTshipi', 'Mosupologo', 'Labobedi', 'Laboraro', 'Labone', 'Labotlhano', 'Lamatlhatso'], 'weekdays_short' => ['Tsh', 'Mos', 'Bed', 'Rar', 'Ne', 'Tlh', 'Mat'], 'weekdays_min' => ['Tsh', 'Mos', 'Bed', 'Rar', 'Ne', 'Tlh', 'Mat'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => 'dingwaga di le :count', diff --git a/src/Carbon/Lang/to_TO.php b/src/Carbon/Lang/to_TO.php index 335c69a859..ce713edba8 100644 --- a/src/Carbon/Lang/to_TO.php +++ b/src/Carbon/Lang/to_TO.php @@ -14,6 +14,7 @@ * - International Components for Unicode akhilesh.k@samsung.com */ return array_replace_recursive(require __DIR__.'/en.php', [ + 'first_day_of_week' => 0, 'formats' => [ 'L' => 'dddd DD MMM YYYY', ], diff --git a/src/Carbon/Lang/tpi_PG.php b/src/Carbon/Lang/tpi_PG.php index 5f58c44c0b..721b625b51 100644 --- a/src/Carbon/Lang/tpi_PG.php +++ b/src/Carbon/Lang/tpi_PG.php @@ -22,6 +22,7 @@ 'weekdays' => ['Sande', 'Mande', 'Tunde', 'Trinde', 'Fonde', 'Fraide', 'Sarere'], 'weekdays_short' => ['San', 'Man', 'Tun', 'Tri', 'Fon', 'Fra', 'Sar'], 'weekdays_min' => ['San', 'Man', 'Tun', 'Tri', 'Fon', 'Fra', 'Sar'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['biknait', 'apinun'], diff --git a/src/Carbon/Lang/ts_ZA.php b/src/Carbon/Lang/ts_ZA.php index 37a24ec49b..3271345518 100644 --- a/src/Carbon/Lang/ts_ZA.php +++ b/src/Carbon/Lang/ts_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['Sonto', 'Musumbhunuku', 'Ravumbirhi', 'Ravunharhu', 'Ravumune', 'Ravuntlhanu', 'Mugqivela'], 'weekdays_short' => ['Son', 'Mus', 'Bir', 'Har', 'Ne', 'Tlh', 'Mug'], 'weekdays_min' => ['Son', 'Mus', 'Bir', 'Har', 'Ne', 'Tlh', 'Mug'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => 'malembe ya :count', diff --git a/src/Carbon/Lang/unm_US.php b/src/Carbon/Lang/unm_US.php index fa5c374e3d..161a1ec88e 100644 --- a/src/Carbon/Lang/unm_US.php +++ b/src/Carbon/Lang/unm_US.php @@ -22,6 +22,7 @@ 'weekdays' => ['kentuwei', 'manteke', 'tusteke', 'lelai', 'tasteke', 'pelaiteke', 'sateteke'], 'weekdays_short' => ['ken', 'man', 'tus', 'lel', 'tas', 'pel', 'sat'], 'weekdays_min' => ['ken', 'man', 'tus', 'lel', 'tas', 'pel', 'sat'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, // Too unreliable diff --git a/src/Carbon/Lang/ve_ZA.php b/src/Carbon/Lang/ve_ZA.php index 5eb2b91285..d401d9f245 100644 --- a/src/Carbon/Lang/ve_ZA.php +++ b/src/Carbon/Lang/ve_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['Swondaha', 'Musumbuluwo', 'Ḽavhuvhili', 'Ḽavhuraru', 'Ḽavhuṋa', 'Ḽavhuṱanu', 'Mugivhela'], 'weekdays_short' => ['Swo', 'Mus', 'Vhi', 'Rar', 'ṋa', 'Ṱan', 'Mug'], 'weekdays_min' => ['Swo', 'Mus', 'Vhi', 'Rar', 'ṋa', 'Ṱan', 'Mug'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, // Too unreliable diff --git a/src/Carbon/Lang/wal_ET.php b/src/Carbon/Lang/wal_ET.php index a4e619a873..e862f2c59c 100644 --- a/src/Carbon/Lang/wal_ET.php +++ b/src/Carbon/Lang/wal_ET.php @@ -22,6 +22,7 @@ 'weekdays' => ['ወጋ', 'ሳይኖ', 'ማቆሳኛ', 'አሩዋ', 'ሃሙሳ', 'አርባ', 'ቄራ'], 'weekdays_short' => ['ወጋ ', 'ሳይኖ', 'ማቆሳ', 'አሩዋ', 'ሃሙሳ', 'አርባ', 'ቄራ '], 'weekdays_min' => ['ወጋ ', 'ሳይኖ', 'ማቆሳ', 'አሩዋ', 'ሃሙሳ', 'አርባ', 'ቄራ '], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'meridiem' => ['ማለዶ', 'ቃማ'], ]); diff --git a/src/Carbon/Lang/xh_ZA.php b/src/Carbon/Lang/xh_ZA.php index 910f8311e6..009153c7be 100644 --- a/src/Carbon/Lang/xh_ZA.php +++ b/src/Carbon/Lang/xh_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['iCawa', 'uMvulo', 'lwesiBini', 'lwesiThathu', 'ulweSine', 'lwesiHlanu', 'uMgqibelo'], 'weekdays_short' => ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'], 'weekdays_min' => ['Caw', 'Mvu', 'Bin', 'Tha', 'Sin', 'Hla', 'Mgq'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => ':count ihlobo', // less reliable diff --git a/src/Carbon/Lang/yi_US.php b/src/Carbon/Lang/yi_US.php index f764d36f67..f2dec331d9 100644 --- a/src/Carbon/Lang/yi_US.php +++ b/src/Carbon/Lang/yi_US.php @@ -22,6 +22,7 @@ 'weekdays' => ['זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטװאָך', 'דאָנערשטיק', 'פֿרײַטיק', 'שבת'], 'weekdays_short' => ['זונ\'', 'מאָנ\'', 'דינ\'', 'מיט\'', 'דאָנ\'', 'פֿרײַ\'', 'שבת'], 'weekdays_min' => ['זונ\'', 'מאָנ\'', 'דינ\'', 'מיט\'', 'דאָנ\'', 'פֿרײַ\'', 'שבת'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => ':count יאר', diff --git a/src/Carbon/Lang/yuw_PG.php b/src/Carbon/Lang/yuw_PG.php index b99ad2e8e8..8a1ccf9815 100644 --- a/src/Carbon/Lang/yuw_PG.php +++ b/src/Carbon/Lang/yuw_PG.php @@ -22,5 +22,6 @@ 'weekdays' => ['sönda', 'mönda', 'sinda', 'mitiwö', 'sogipbono', 'nenggo', 'söndanggie'], 'weekdays_short' => ['sön', 'mön', 'sin', 'mit', 'soi', 'nen', 'sab'], 'weekdays_min' => ['sön', 'mön', 'sin', 'mit', 'soi', 'nen', 'sab'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, ]); diff --git a/src/Carbon/Lang/zu_ZA.php b/src/Carbon/Lang/zu_ZA.php index 6bfb72f0af..b1e8bc0b50 100644 --- a/src/Carbon/Lang/zu_ZA.php +++ b/src/Carbon/Lang/zu_ZA.php @@ -22,6 +22,7 @@ 'weekdays' => ['iSonto', 'uMsombuluko', 'uLwesibili', 'uLwesithathu', 'uLwesine', 'uLwesihlanu', 'uMgqibelo'], 'weekdays_short' => ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], 'weekdays_min' => ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], + 'first_day_of_week' => 0, 'day_of_first_week_of_year' => 1, 'year' => 'kweminyaka engu-:count', diff --git a/src/Carbon/Traits/Creator.php b/src/Carbon/Traits/Creator.php index 4d4c25a0e2..b53e0fef87 100644 --- a/src/Carbon/Traits/Creator.php +++ b/src/Carbon/Traits/Creator.php @@ -235,7 +235,7 @@ public static function parse($time = null, $tz = null) */ public static function parseFromLocale($time, $locale, $tz = null) { - return static::rawParse(static::translateTimeString($time, $locale, 'en'), $tz); + return static::rawParse(static::translateTimeString($time, $locale, static::DEFAULT_LOCALE), $tz); } /** @@ -683,7 +683,7 @@ public static function createFromFormat($format, $time, $tz = null) * * @return static|false */ - public static function createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) + public static function createFromIsoFormat($format, $time, $tz = null, $locale = self::DEFAULT_LOCALE, $translator = null) { $format = preg_replace_callback('/(?isoFormat('Do wo') '6th 1st', // Carbon::parse('2018-01-07 00:00:00')->isoFormat('Do wo') - '7th 2nd', + '7th 1st', // Carbon::parse('2018-01-11 00:00:00')->isoFormat('Do wo') '11th 2nd', // Carbon::parse('2018-02-09 00:00:00')->isoFormat('DDDo') diff --git a/tests/Localization/EnInTest.php b/tests/Localization/EnInTest.php index 659b33ce7b..4ce6787e4b 100644 --- a/tests/Localization/EnInTest.php +++ b/tests/Localization/EnInTest.php @@ -87,7 +87,7 @@ class EnInTest extends LocalizationTestCase // Carbon::parse('2018-01-06 00:00:00')->isoFormat('Do wo') '6th 1st', // Carbon::parse('2018-01-07 00:00:00')->isoFormat('Do wo') - '7th 2nd', + '7th 1st', // Carbon::parse('2018-01-11 00:00:00')->isoFormat('Do wo') '11th 2nd', // Carbon::parse('2018-02-09 00:00:00')->isoFormat('DDDo') diff --git a/tests/Localization/EnTest.php b/tests/Localization/EnTest.php index 84804ff1bf..a821c386dd 100644 --- a/tests/Localization/EnTest.php +++ b/tests/Localization/EnTest.php @@ -87,7 +87,7 @@ class EnTest extends LocalizationTestCase // Carbon::parse('2018-01-06 00:00:00')->isoFormat('Do wo') '6th 1st', // Carbon::parse('2018-01-07 00:00:00')->isoFormat('Do wo') - '7th 2nd', + '7th 1st', // Carbon::parse('2018-01-11 00:00:00')->isoFormat('Do wo') '11th 2nd', // Carbon::parse('2018-02-09 00:00:00')->isoFormat('DDDo') diff --git a/tests/Localization/EnZaTest.php b/tests/Localization/EnZaTest.php index b36a0ac0c6..142e4af344 100644 --- a/tests/Localization/EnZaTest.php +++ b/tests/Localization/EnZaTest.php @@ -87,7 +87,7 @@ class EnZaTest extends LocalizationTestCase // Carbon::parse('2018-01-06 00:00:00')->isoFormat('Do wo') '6th 1st', // Carbon::parse('2018-01-07 00:00:00')->isoFormat('Do wo') - '7th 2nd', + '7th 1st', // Carbon::parse('2018-01-11 00:00:00')->isoFormat('Do wo') '11th 2nd', // Carbon::parse('2018-02-09 00:00:00')->isoFormat('DDDo')