Skip to content

Commit

Permalink
Make en_001 the new default locale
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed May 17, 2020
1 parent c93e4f6 commit 72488c2
Show file tree
Hide file tree
Showing 200 changed files with 239 additions and 259 deletions.
9 changes: 8 additions & 1 deletion src/Carbon/CarbonInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

// <methods>

/**
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/Carbon/CarbonInterval.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Carbon/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/Carbon/FactoryImmutable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/aa_ET.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/am_ET.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
'weekdays_short' => ['እሑድ', 'ሰኞ ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
'weekdays_min' => ['እሑድ', 'ሰኞ ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['ጡዋት', 'ከሰዓት'],

Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/anp_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'बृहस्पतिवार', 'शुक्रवार', 'शनिवार'],
'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'],
'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['पूर्वाह्न', 'अपराह्न'],
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/as_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', 'বুধবাৰ', 'বৃহষ্পতিবাৰ', 'শুক্ৰবাৰ', 'শনিবাৰ'],
'weekdays_short' => ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', 'শুক্ৰ', 'শনি'],
'weekdays_min' => ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', 'শুক্ৰ', 'শনি'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['পূৰ্ব্বাহ্ন', 'অপৰাহ্ন'],

Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/ayc_PE.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/bhb_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/bho_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'],
'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['पूर्वाह्न', 'अपराह्न'],

Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/bi_VU.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/brx_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['रबिबार', 'सोबार', 'मंगलबार', 'बुदबार', 'बिसथिबार', 'सुखुरबार', 'सुनिबार'],
'weekdays_short' => ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'],
'weekdays_min' => ['रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', 'सुनि'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['फुं.', 'बेलासे.'],
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/ccp.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
'LLL' => 'D MMMM, YYYY h:mm a',
'LLLL' => 'dddd, D MMMM, YYYY h:mm a',
],
'first_day_of_week' => 0,
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/chr_US.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ'],
'weekdays_short' => ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'],
'weekdays_min' => ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ', 'ꮜꮎꮄ', 'ꮢꭿᏹꭲꮧꮲ'],

Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/cmn_TW.php
Original file line number Diff line number Diff line change
Expand Up @@ -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號',
],
Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/dav.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/doi_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['ऐतबार', 'सोमबार', 'मंगलबर', 'बुधबार', 'बीरबार', 'शुक्करबार', 'श्नीचरबार'],
'weekdays_short' => ['ऐत', 'सोम', 'मंगल', 'बुध', 'बीर', 'शुक्कर', 'श्नीचर'],
'weekdays_min' => ['ऐत', 'सोम', 'मंगल', 'बुध', 'बीर', 'शुक्कर', 'श्नीचर'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['सञं', 'सबेर'],

Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/dz_BT.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'weekdays' => ['གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་ཕ་', 'གཟའ་པུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་ཕ་', 'གཟའ་ཉི་མ་'],
'weekdays_short' => ['ཟླ་', 'མིར་', 'ལྷག་', 'པུར་', 'སངས་', 'སྤེན་', 'ཉི་'],
'weekdays_min' => ['ཟླ་', 'མིར་', 'ལྷག་', 'པུར་', 'སངས་', 'སྤེན་', 'ཉི་'],
'first_day_of_week' => 0,
'day_of_first_week_of_year' => 1,
'meridiem' => ['ངས་ཆ', 'ཕྱི་ཆ'],

Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Lang/ebu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion src/Carbon/Lang/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
);
},
'list' => [', ', ' and '],
'first_day_of_week' => 0,
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
];
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_001.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_150.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
1 change: 0 additions & 1 deletion src/Carbon/Lang/en_AG.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
'formats' => [
'L' => 'DD/MM/YY',
],
'day_of_first_week_of_year' => 1,
]);
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_AI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 3 additions & 1 deletion src/Carbon/Lang/en_AS.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_AT.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
1 change: 0 additions & 1 deletion src/Carbon/Lang/en_AU.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_BB.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_BE.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_BI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_BM.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 3 additions & 1 deletion src/Carbon/Lang/en_BS.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
4 changes: 3 additions & 1 deletion src/Carbon/Lang/en_BW.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
4 changes: 3 additions & 1 deletion src/Carbon/Lang/en_BZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
1 change: 1 addition & 0 deletions src/Carbon/Lang/en_CA.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
'LLL' => 'MMMM D, YYYY h:mm A',
'LLLL' => 'dddd, MMMM D, YYYY h:mm A',
],
'first_day_of_week' => 0,
]);
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_CC.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_CH.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_CK.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_CM.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_CX.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
1 change: 0 additions & 1 deletion src/Carbon/Lang/en_CY.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_DG.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
1 change: 0 additions & 1 deletion src/Carbon/Lang/en_DK.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
'formats' => [
'L' => 'YYYY-MM-DD',
],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
]);
4 changes: 3 additions & 1 deletion src/Carbon/Lang/en_DM.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_ER.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_FI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
4 changes: 1 addition & 3 deletions src/Carbon/Lang/en_FJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Loading

0 comments on commit 72488c2

Please sign in to comment.