Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • sibidharan/api-development-course-apr-2021
  • krithikramraja/api-development-course-apr-2021
  • monish-palanikumar/api-development-course-apr-2021
  • Pranesh/api-development-course-apr-2021
  • ganesha005/api-development-course-apr-2021
  • selva1011/api-development-course-apr-2021
  • hema/api-development-course-apr-2021
  • Kartheeekn/api-development-course-apr-2021
  • GopiKrishnan/api-development-course-apr-2021
  • Mhd_khalid/api-development-course-apr-2021
  • sibivarma/api-development-course-apr-2021
  • ramanajsr1/api-development-course-apr-2021
  • rahulprem2k2910/api-development-course-apr-2021
  • sabarinathanfb/api-development-course-apr-2021
  • hariharanrd/api-development-course-apr-2021
  • Akram24/api-development-course-apr-2021
  • At_muthu__/api-development-course-apr-2021
  • rii/api-development-course-apr-2021
  • harishvarmaj7/api-development-course-apr-2021
  • moovendhan/rest-api
  • k3XD16/api-development-course-apr-2021
  • vimal/api-development-course-apr-2021
  • shiva007/api-development-course-apr-2021
  • Amudhan/api-development-course-apr-2021
  • abinayacyber604/api-development-course-apr-2021
  • subash_19/api
  • Saransaran/api-development-course-apr-2021
27 results
Show changes
Showing
with 1010 additions and 0 deletions
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Zuza Software Foundation (Translate.org.za) Dwayne Bailey dwayne@translate.org.za
*/
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'DD/MM/YYYY',
],
'months' => ['Sunguti', 'Nyenyenyani', 'Nyenyankulu', 'Dzivamisoko', 'Mudyaxihi', 'Khotavuxika', 'Mawuwani', 'Mhawuri', 'Ndzhati', 'Nhlangula', 'Hukuri', 'N\'wendzamhala'],
'months_short' => ['Sun', 'Yan', 'Kul', 'Dzi', 'Mud', 'Kho', 'Maw', 'Mha', 'Ndz', 'Nhl', 'Huk', 'N\'w'],
'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'],
'day_of_first_week_of_year' => 1,
'year' => 'malembe ya :count',
'y' => 'malembe ya :count',
'a_year' => 'malembe ya :count',
'month' => 'tin’hweti ta :count',
'm' => 'tin’hweti ta :count',
'a_month' => 'tin’hweti ta :count',
'week' => 'mavhiki ya :count',
'w' => 'mavhiki ya :count',
'a_week' => 'mavhiki ya :count',
'day' => 'masiku :count',
'd' => 'masiku :count',
'a_day' => 'masiku :count',
'hour' => 'tiawara ta :count',
'h' => 'tiawara ta :count',
'a_hour' => 'tiawara ta :count',
'minute' => 'timinete ta :count',
'min' => 'timinete ta :count',
'a_minute' => 'timinete ta :count',
'second' => 'tisekoni ta :count',
's' => 'tisekoni ta :count',
'a_second' => 'tisekoni ta :count',
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/tt_RU.php';
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Rinat Norkin Pablo Saratxaga, Rinat Norkin pablo@mandrakesoft.com, rinat@taif.ru
*/
return [
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD.MM.YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'DD MMM, HH:mm',
'LLLL' => 'DD MMMM YYYY, HH:mm',
],
'months' => ['января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'],
'months_short' => ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'],
'weekdays' => ['якшәмбе', 'дышәмбе', 'сишәмбе', 'чәршәәмбе', 'пәнҗешмбе', 'җомга', 'шимбә'],
'weekdays_short' => ['якш', 'дыш', 'сиш', 'чәрш', 'пәнҗ', 'җом', 'шим'],
'weekdays_min' => ['якш', 'дыш', 'сиш', 'чәрш', 'пәнҗ', 'җом', 'шим'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'year' => ':count ел',
'month' => ':count ай',
'week' => ':count атна',
'day' => ':count көн',
'hour' => ':count сәгать',
'minute' => ':count минут',
'second' => ':count секунд',
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Reshat Sabiq tatar.iqtelif.i18n@gmail.com
*/
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'DD.MM.YYYY',
],
'months' => ['Ğınwar', 'Fiwral\'', 'Mart', 'April', 'May', 'Yün', 'Yül', 'Awgust', 'Sintebír', 'Üktebír', 'Noyebír', 'Dikebír'],
'months_short' => ['Ğın', 'Fiw', 'Mar', 'Apr', 'May', 'Yün', 'Yül', 'Awg', 'Sin', 'Ükt', 'Noy', 'Dik'],
'weekdays' => ['Yekşembí', 'Düşembí', 'Sişembí', 'Çerşembí', 'Pencíşembí', 'Comğa', 'Şimbe'],
'weekdays_short' => ['Yek', 'Düş', 'Siş', 'Çer', 'Pen', 'Com', 'Şim'],
'weekdays_min' => ['Yek', 'Düş', 'Siş', 'Çer', 'Pen', 'Com', 'Şim'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'meridiem' => ['ÖA', 'ÖS'],
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* 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__.'/ses.php', [
'meridiem' => ['Subbaahi', 'Zaarikay b'],
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
'year' => '[0,1]:count ar|:count ars',
'y' => '[0,1]:count ar|:count ars',
'month' => '[0,1]:count mes|:count mesen',
'm' => '[0,1]:count mes|:count mesen',
'week' => '[0,1]:count seifetziua|:count seifetziuas',
'w' => '[0,1]:count seifetziua|:count seifetziuas',
'day' => '[0,1]:count ziua|:count ziuas',
'd' => '[0,1]:count ziua|:count ziuas',
'hour' => '[0,1]:count þora|:count þoras',
'h' => '[0,1]:count þora|:count þoras',
'minute' => '[0,1]:count míut|:count míuts',
'min' => '[0,1]:count míut|:count míuts',
'second' => ':count secunds',
's' => ':count secunds',
'ago' => 'ja :time',
'from_now' => 'osprei :time',
'diff_yesterday' => 'ieiri',
'diff_yesterday_regexp' => 'ieiri(?:\\s+à)?',
'diff_today' => 'oxhi',
'diff_today_regexp' => 'oxhi(?:\\s+à)?',
'diff_tomorrow' => 'demà',
'diff_tomorrow_regexp' => 'demà(?:\\s+à)?',
'formats' => [
'LT' => 'HH.mm',
'LTS' => 'HH.mm.ss',
'L' => 'DD.MM.YYYY',
'LL' => 'D. MMMM [dallas] YYYY',
'LLL' => 'D. MMMM [dallas] YYYY HH.mm',
'LLLL' => 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
],
'calendar' => [
'sameDay' => '[oxhi à] LT',
'nextDay' => '[demà à] LT',
'nextWeek' => 'dddd [à] LT',
'lastDay' => '[ieiri à] LT',
'lastWeek' => '[sür el] dddd [lasteu à] LT',
'sameElse' => 'L',
],
'meridiem' => ["D'A", "D'O"],
'months' => ['Januar', 'Fevraglh', 'Març', 'Avrïu', 'Mai', 'Gün', 'Julia', 'Guscht', 'Setemvar', 'Listopäts', 'Noemvar', 'Zecemvar'],
'months_short' => ['Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Gün', 'Jul', 'Gus', 'Set', 'Lis', 'Noe', 'Zec'],
'weekdays' => ['Súladi', 'Lúneçi', 'Maitzi', 'Márcuri', 'Xhúadi', 'Viénerçi', 'Sáturi'],
'weekdays_short' => ['Súl', 'Lún', 'Mai', 'Már', 'Xhú', 'Vié', 'Sát'],
'weekdays_min' => ['Sú', 'Lú', 'Ma', 'Má', 'Xh', 'Vi', 'Sá'],
'ordinal' => ':number.',
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Josh Soref
* - JD Isaacks
*/
return [
'year' => '{1}ⴰⵙⴳⴰⵙ|:count ⵉⵙⴳⴰⵙⵏ',
'month' => '{1}ⴰⵢoⵓⵔ|:count ⵉⵢⵢⵉⵔⵏ',
'week' => ':count ⵉⵎⴰⵍⴰⵙⵙ',
'day' => '{1}ⴰⵙⵙ|:count oⵙⵙⴰⵏ',
'hour' => '{1}ⵙⴰⵄⴰ|:count ⵜⴰⵙⵙⴰⵄⵉⵏ',
'minute' => '{1}ⵎⵉⵏⵓⴺ|:count ⵎⵉⵏⵓⴺ',
'second' => '{1}ⵉⵎⵉⴽ|:count ⵉⵎⵉⴽ',
'ago' => 'ⵢⴰⵏ :time',
'from_now' => 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ :time',
'diff_today' => 'ⴰⵙⴷⵅ',
'diff_yesterday' => 'ⴰⵚⴰⵏⵜ',
'diff_yesterday_regexp' => 'ⴰⵚⴰⵏⵜ(?:\\s+ⴴ)?',
'diff_tomorrow' => 'ⴰⵙⴽⴰ',
'diff_tomorrow_regexp' => 'ⴰⵙⴽⴰ(?:\\s+ⴴ)?',
'diff_today_regexp' => 'ⴰⵙⴷⵅ(?:\\s+ⴴ)?',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[ⴰⵙⴷⵅ ⴴ] LT',
'nextDay' => '[ⴰⵙⴽⴰ ⴴ] LT',
'nextWeek' => 'dddd [ⴴ] LT',
'lastDay' => '[ⴰⵚⴰⵏⵜ ⴴ] LT',
'lastWeek' => 'dddd [ⴴ] LT',
'sameElse' => 'L',
],
'months' => ['ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵟⵓⴱⵕ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⵏⴱⵉⵔ'],
'months_short' => ['ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵟⵓⴱⵕ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', 'ⴷⵓⵊⵏⴱⵉⵔ'],
'weekdays' => ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵔⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
'weekdays_short' => ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵔⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
'weekdays_min' => ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵔⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
'first_day_of_week' => 6,
'day_of_first_week_of_year' => 1,
'weekend' => [5, 6],
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Josh Soref
* - JD Isaacks
*/
return [
'year' => '{1}:count asgas|:count isgasn',
'a_year' => 'asgas|:count isgasn',
'month' => '{1}:count ayowr|:count iyyirn',
'a_month' => 'ayowr|:count iyyirn',
'week' => ':count imalass',
'a_week' => ':imalass',
'day' => '{1}:count ass|:count ossan',
'a_day' => 'ass|:count ossan',
'hour' => '{1}:count saɛa|:count tassaɛin',
'a_hour' => '{1}saɛa|:count tassaɛin',
'minute' => ':count minuḍ',
'a_minute' => '{1}minuḍ|:count minuḍ',
'second' => ':count imik',
'a_second' => '{1}imik|:count imik',
'ago' => 'yan :time',
'from_now' => 'dadkh s yan :time',
'diff_yesterday' => 'assant',
'diff_yesterday_regexp' => 'assant(?:\\s+g)?',
'diff_today' => 'asdkh',
'diff_today_regexp' => 'asdkh(?:\\s+g)?',
'diff_tomorrow' => 'aska',
'diff_tomorrow_regexp' => 'aska(?:\\s+g)?',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[asdkh g] LT',
'nextDay' => '[aska g] LT',
'nextWeek' => 'dddd [g] LT',
'lastDay' => '[assant g] LT',
'lastWeek' => 'dddd [g] LT',
'sameElse' => 'L',
],
'months' => ['innayr', 'brˤayrˤ', 'marˤsˤ', 'ibrir', 'mayyw', 'ywnyw', 'ywlywz', 'ɣwšt', 'šwtanbir', 'ktˤwbrˤ', 'nwwanbir', 'dwjnbir'],
'months_short' => ['innayr', 'brˤayrˤ', 'marˤsˤ', 'ibrir', 'mayyw', 'ywnyw', 'ywlywz', 'ɣwšt', 'šwtanbir', 'ktˤwbrˤ', 'nwwanbir', 'dwjnbir'],
'weekdays' => ['asamas', 'aynas', 'asinas', 'akras', 'akwas', 'asimwas', 'asiḍyas'],
'weekdays_short' => ['asamas', 'aynas', 'asinas', 'akras', 'akwas', 'asimwas', 'asiḍyas'],
'weekdays_min' => ['asamas', 'aynas', 'asinas', 'akras', 'akwas', 'asimwas', 'asiḍyas'],
'meridiem' => ['Zdat azal', 'Ḍeffir aza'],
'first_day_of_week' => 6,
'day_of_first_week_of_year' => 1,
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Philippe Vaucher
* - Tsutomu Kuroda
* - yasinn
*/
return [
'year' => '{1}'.'بىر يىل'.'|:count '.'يىل',
'month' => '{1}'.'بىر ئاي'.'|:count '.'ئاي',
'week' => '{1}'.'بىر ھەپتە'.'|:count '.'ھەپتە',
'day' => '{1}'.'بىر كۈن'.'|:count '.'كۈن',
'hour' => '{1}'.'بىر سائەت'.'|:count '.'سائەت',
'minute' => '{1}'.'بىر مىنۇت'.'|:count '.'مىنۇت',
'second' => '{1}'.'نەچچە سېكونت'.'|:count '.'سېكونت',
'ago' => ':time بۇرۇن',
'from_now' => ':time كېيىن',
'diff_today' => 'بۈگۈن',
'diff_yesterday' => 'تۆنۈگۈن',
'diff_tomorrow' => 'ئەتە',
'diff_tomorrow_regexp' => 'ئەتە(?:\\s+سائەت)?',
'diff_today_regexp' => 'بۈگۈن(?:\\s+سائەت)?',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'YYYY-MM-DD',
'LL' => 'YYYY-يىلىM-ئاينىڭD-كۈنى',
'LLL' => 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
'LLLL' => 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
],
'calendar' => [
'sameDay' => '[بۈگۈن سائەت] LT',
'nextDay' => '[ئەتە سائەت] LT',
'nextWeek' => '[كېلەركى] dddd [سائەت] LT',
'lastDay' => '[تۆنۈگۈن] LT',
'lastWeek' => '[ئالدىنقى] dddd [سائەت] LT',
'sameElse' => 'L',
],
'ordinal' => function ($number, $period) {
switch ($period) {
case 'd':
case 'D':
case 'DDD':
return $number.'-كۈنى';
case 'w':
case 'W':
return $number.'-ھەپتە';
default:
return $number;
}
},
'meridiem' => function ($hour, $minute) {
$time = $hour * 100 + $minute;
if ($time < 600) {
return 'يېرىم كېچە';
}
if ($time < 900) {
return 'سەھەر';
}
if ($time < 1130) {
return 'چۈشتىن بۇرۇن';
}
if ($time < 1230) {
return 'چۈش';
}
if ($time < 1800) {
return 'چۈشتىن كېيىن';
}
return 'كەچ';
},
'months' => ['يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دېكابىر'],
'months_short' => ['يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', 'دېكابىر'],
'weekdays' => ['يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', 'پەيشەنبە', 'جۈمە', 'شەنبە'],
'weekdays_short' => ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'],
'weekdays_min' => ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'list' => [', ', ' ۋە '],
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Kunal Marwaha
* - Alim Boyaq
*/
return require __DIR__.'/ug.php';
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$processHoursFunction = function (\Carbon\CarbonInterface $date, string $format) {
return $format.'о'.($date->hour === 11 ? 'б' : '').'] LT';
};
/*
* Authors:
* - Kunal Marwaha
* - Josh Soref
* - François B
* - Tim Fish
* - Serhan Apaydın
* - Max Mykhailenko
* - JD Isaacks
* - Max Kovpak
* - AucT
* - Philippe Vaucher
* - Ilya Shaplyko
* - Vadym Ievsieiev
* - Denys Kurets
* - Igor Kasyanchuk
* - Tsutomu Kuroda
* - tjku
* - Max Melentiev
* - Oleh
* - epaminond
* - Juanito Fatas
* - Vitalii Khustochka
* - Akira Matsuda
* - Christopher Dell
* - Enrique Vidal
* - Simone Carletti
* - Aaron Patterson
* - Andriy Tyurnikov
* - Nicolás Hock Isaza
* - Iwakura Taro
* - Andrii Ponomarov
* - alecrabbit
* - vystepanenko
* - AlexWalkerson
* - Andre Havryliuk (Andrend)
* - Max Datsenko (datsenko-md)
*/
return [
'year' => ':count рік|:count роки|:count років',
'y' => ':countр',
'a_year' => '{1}рік|:count рік|:count роки|:count років',
'month' => ':count місяць|:count місяці|:count місяців',
'm' => ':countм',
'a_month' => '{1}місяць|:count місяць|:count місяці|:count місяців',
'week' => ':count тиждень|:count тижні|:count тижнів',
'w' => ':countт',
'a_week' => '{1}тиждень|:count тиждень|:count тижні|:count тижнів',
'day' => ':count день|:count дні|:count днів',
'd' => ':countд',
'a_day' => '{1}день|:count день|:count дні|:count днів',
'hour' => ':count година|:count години|:count годин',
'h' => ':countг',
'a_hour' => '{1}година|:count година|:count години|:count годин',
'minute' => ':count хвилина|:count хвилини|:count хвилин',
'min' => ':countхв',
'a_minute' => '{1}хвилина|:count хвилина|:count хвилини|:count хвилин',
'second' => ':count секунда|:count секунди|:count секунд',
's' => ':countсек',
'a_second' => '{1}декілька секунд|:count секунда|:count секунди|:count секунд',
'hour_ago' => ':count годину|:count години|:count годин',
'a_hour_ago' => '{1}годину|:count годину|:count години|:count годин',
'minute_ago' => ':count хвилину|:count хвилини|:count хвилин',
'a_minute_ago' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
'second_ago' => ':count секунду|:count секунди|:count секунд',
'a_second_ago' => '{1}декілька секунд|:count секунду|:count секунди|:count секунд',
'hour_from_now' => ':count годину|:count години|:count годин',
'a_hour_from_now' => '{1}годину|:count годину|:count години|:count годин',
'minute_from_now' => ':count хвилину|:count хвилини|:count хвилин',
'a_minute_from_now' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
'second_from_now' => ':count секунду|:count секунди|:count секунд',
'a_second_from_now' => '{1}декілька секунд|:count секунду|:count секунди|:count секунд',
'hour_after' => ':count годину|:count години|:count годин',
'a_hour_after' => '{1}годину|:count годину|:count години|:count годин',
'minute_after' => ':count хвилину|:count хвилини|:count хвилин',
'a_minute_after' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
'second_after' => ':count секунду|:count секунди|:count секунд',
'a_second_after' => '{1}декілька секунд|:count секунду|:count секунди|:count секунд',
'hour_before' => ':count годину|:count години|:count годин',
'a_hour_before' => '{1}годину|:count годину|:count години|:count годин',
'minute_before' => ':count хвилину|:count хвилини|:count хвилин',
'a_minute_before' => '{1}хвилину|:count хвилину|:count хвилини|:count хвилин',
'second_before' => ':count секунду|:count секунди|:count секунд',
'a_second_before' => '{1}декілька секунд|:count секунду|:count секунди|:count секунд',
'ago' => ':time тому',
'from_now' => 'за :time',
'after' => ':time після',
'before' => ':time до',
'diff_now' => 'щойно',
'diff_today' => 'Сьогодні',
'diff_today_regexp' => 'Сьогодні(?:\\s+о)?',
'diff_yesterday' => 'вчора',
'diff_yesterday_regexp' => 'Вчора(?:\\s+о)?',
'diff_tomorrow' => 'завтра',
'diff_tomorrow_regexp' => 'Завтра(?:\\s+о)?',
'diff_before_yesterday' => 'позавчора',
'diff_after_tomorrow' => 'післязавтра',
'period_recurrences' => 'один раз|:count рази|:count разів',
'period_interval' => 'кожні :interval',
'period_start_date' => 'з :date',
'period_end_date' => 'до :date',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD.MM.YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY, HH:mm',
'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
],
'calendar' => [
'sameDay' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[Сьогодні ');
},
'nextDay' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[Завтра ');
},
'nextWeek' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[У] dddd [');
},
'lastDay' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[Вчора ');
},
'lastWeek' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
switch ($date->dayOfWeek) {
case 0:
case 3:
case 5:
case 6:
return $processHoursFunction($date, '[Минулої] dddd [');
default:
return $processHoursFunction($date, '[Минулого] dddd [');
}
},
'sameElse' => 'L',
],
'ordinal' => function ($number, $period) {
switch ($period) {
case 'M':
case 'd':
case 'DDD':
case 'w':
case 'W':
return $number.'-й';
case 'D':
return $number.'-го';
default:
return $number;
}
},
'meridiem' => function ($hour) {
if ($hour < 4) {
return 'ночі';
}
if ($hour < 12) {
return 'ранку';
}
if ($hour < 17) {
return 'дня';
}
return 'вечора';
},
'months' => ['січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', 'жовтня', 'листопада', 'грудня'],
'months_standalone' => ['січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень'],
'months_short' => ['січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру'],
'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
'weekdays' => function (\Carbon\CarbonInterface $date, $format, $index) {
static $words = [
'nominative' => ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п’ятниця', 'субота'],
'accusative' => ['неділю', 'понеділок', 'вівторок', 'середу', 'четвер', 'п’ятницю', 'суботу'],
'genitive' => ['неділі', 'понеділка', 'вівторка', 'середи', 'четверга', 'п’ятниці', 'суботи'],
];
$nounCase = preg_match('/(\[(В|в|У|у)\])\s+dddd/', $format)
? 'accusative'
: (
preg_match('/\[?(?:минулої|наступної)?\s*\]\s+dddd/', $format)
? 'genitive'
: 'nominative'
);
return $words[$nounCase][$index] ?? null;
},
'weekdays_short' => ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
'weekdays_min' => ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'list' => [', ', ' i '],
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return require __DIR__.'/uk.php';
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Unknown default region, use the first alphabetically.
*/
return require __DIR__.'/unm_US.php';
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - bug-glibc-locales@gnu.org
*/
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'DD/MM/YY',
],
'months' => ['enikwsi', 'chkwali', 'xamokhwite', 'kwetayoxe', 'tainipen', 'kichinipen', 'lainipen', 'winaminke', 'kichitahkok', 'puksit', 'wini', 'muxkotae'],
'months_short' => ['eni', 'chk', 'xam', 'kwe', 'tai', 'nip', 'lai', 'win', 'tah', 'puk', 'kun', 'mux'],
'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'],
'day_of_first_week_of_year' => 1,
// Too unreliable
/*
'year' => ':count kaxtëne',
'y' => ':count kaxtëne',
'a_year' => ':count kaxtëne',
'month' => ':count piskewëni kishux', // less reliable
'm' => ':count piskewëni kishux', // less reliable
'a_month' => ':count piskewëni kishux', // less reliable
'week' => ':count kishku', // less reliable
'w' => ':count kishku', // less reliable
'a_week' => ':count kishku', // less reliable
'day' => ':count kishku',
'd' => ':count kishku',
'a_day' => ':count kishku',
'hour' => ':count xkuk', // less reliable
'h' => ':count xkuk', // less reliable
'a_hour' => ':count xkuk', // less reliable
'minute' => ':count txituwàk', // less reliable
'min' => ':count txituwàk', // less reliable
'a_minute' => ':count txituwàk', // less reliable
'second' => ':count nisha', // less reliable
's' => ':count nisha', // less reliable
'a_second' => ':count nisha', // less reliable
*/
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$months = [
'جنوری',
'فروری',
'مارچ',
'اپریل',
'مئی',
'جون',
'جولائی',
'اگست',
'ستمبر',
'اکتوبر',
'نومبر',
'دسمبر',
];
$weekdays = [
'اتوار',
'پیر',
'منگل',
'بدھ',
'جمعرات',
'جمعہ',
'ہفتہ',
];
/*
* Authors:
* - Sawood Alam
* - Mehshan
* - Philippe Vaucher
* - Tsutomu Kuroda
* - tjku
* - Zaid Akram
* - Max Melentiev
* - hafezdivandari
* - Hossein Jabbari
* - nimamo
*/
return [
'year' => 'ایک سال|:count سال',
'month' => 'ایک ماہ|:count ماہ',
'week' => ':count ہفتے',
'day' => 'ایک دن|:count دن',
'hour' => 'ایک گھنٹہ|:count گھنٹے',
'minute' => 'ایک منٹ|:count منٹ',
'second' => 'چند سیکنڈ|:count سیکنڈ',
'ago' => ':time قبل',
'from_now' => ':time بعد',
'after' => ':time بعد',
'before' => ':time پہلے',
'diff_now' => 'اب',
'diff_today' => 'آج',
'diff_today_regexp' => 'آج(?:\\s+بوقت)?',
'diff_yesterday' => 'گزشتہ کل',
'diff_yesterday_regexp' => 'گذشتہ(?:\\s+روز)?(?:\\s+بوقت)?',
'diff_tomorrow' => 'آئندہ کل',
'diff_tomorrow_regexp' => 'کل(?:\\s+بوقت)?',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'dddd، D MMMM YYYY HH:mm',
],
'calendar' => [
'sameDay' => '[آج بوقت] LT',
'nextDay' => '[کل بوقت] LT',
'nextWeek' => 'dddd [بوقت] LT',
'lastDay' => '[گذشتہ روز بوقت] LT',
'lastWeek' => '[گذشتہ] dddd [بوقت] LT',
'sameElse' => 'L',
],
'meridiem' => ['صبح', 'شام'],
'months' => $months,
'months_short' => $months,
'weekdays' => $weekdays,
'weekdays_short' => $weekdays,
'weekdays_min' => $weekdays,
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 4,
'list' => ['، ', ' اور '],
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Red Hat, Pune bug-glibc-locales@gnu.org
*/
return array_replace_recursive(require __DIR__.'/ur.php', [
'formats' => [
'L' => 'D/M/YY',
],
'months' => ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
'months_short' => ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
'weekdays' => ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'سنیچر'],
'weekdays_short' => ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'سنیچر'],
'weekdays_min' => ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'سنیچر'],
'day_of_first_week_of_year' => 1,
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - bug-glibc-locales@gnu.org
*/
return array_replace_recursive(require __DIR__.'/ur.php', [
'formats' => [
'L' => 'DD/MM/YYYY',
],
'months' => ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
'months_short' => ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
'weekdays' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'هفته'],
'weekdays_short' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'هفته'],
'weekdays_min' => ['اتوار', 'پير', 'منگل', 'بدھ', 'جمعرات', 'جمعه', 'هفته'],
'day_of_first_week_of_year' => 1,
'meridiem' => ['ص', 'ش'],
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
* Authors:
* - Dmitriy Shabanov
* - JD Isaacks
* - Inoyatulloh
* - Jamshid
* - aarkhipov
* - Philippe Vaucher
* - felixthemagnificent
* - Tsutomu Kuroda
* - tjku
* - Max Melentiev
* - Juanito Fatas
* - Alisher Ulugbekov
* - Ergashev Adizbek
*/
return [
'year' => ':count йил',
'a_year' => '{1}бир йил|:count йил',
'y' => ':count й',
'month' => ':count ой',
'a_month' => '{1}бир ой|:count ой',
'm' => ':count о',
'week' => ':count ҳафта',
'a_week' => '{1}бир ҳафта|:count ҳафта',
'w' => ':count ҳ',
'day' => ':count кун',
'a_day' => '{1}бир кун|:count кун',
'd' => ':count к',
'hour' => ':count соат',
'a_hour' => '{1}бир соат|:count соат',
'h' => ':count с',
'minute' => ':count дақиқа',
'a_minute' => '{1}бир дақиқа|:count дақиқа',
'min' => ':count д',
'second' => ':count сония',
'a_second' => '{1}сония|:count сония',
's' => ':count с',
'ago' => ':time аввал',
'from_now' => 'Якин :time ичида',
'after' => ':timeдан кейин',
'before' => ':time олдин',
'diff_now' => 'ҳозир',
'diff_today' => 'Бугун',
'diff_today_regexp' => 'Бугун(?:\\s+соат)?',
'diff_yesterday' => 'Кеча',
'diff_yesterday_regexp' => 'Кеча(?:\\s+соат)?',
'diff_tomorrow' => 'Эртага',
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'DD/MM/YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY HH:mm',
'LLLL' => 'D MMMM YYYY, dddd HH:mm',
],
'calendar' => [
'sameDay' => '[Бугун соат] LT [да]',
'nextDay' => '[Эртага] LT [да]',
'nextWeek' => 'dddd [куни соат] LT [да]',
'lastDay' => '[Кеча соат] LT [да]',
'lastWeek' => '[Утган] dddd [куни соат] LT [да]',
'sameElse' => 'L',
],
'months' => ['январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', 'август', 'сентябр', 'октябр', 'ноябр', 'декабр'],
'months_short' => ['янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек'],
'weekdays' => ['якшанба', 'душанба', 'сешанба', 'чоршанба', 'пайшанба', 'жума', 'шанба'],
'weekdays_short' => ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'],
'weekdays_min' => ['як', 'ду', 'се', 'чо', 'па', 'жу', 'ша'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'meridiem' => ['эрталаб', 'кечаси'],
'list' => [', ', ' ва '],
];
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* 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__.'/fa.php', [
'weekdays' => ['یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],
'weekdays_short' => ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'],
'weekdays_min' => ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'],
'months' => ['جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
'months_short' => ['جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', 'اکت', 'نوم', 'دسم'],
'first_day_of_week' => 6,
'weekend' => [4, 5],
'formats' => [
'LT' => 'HH:mm',
'LTS' => 'HH:mm:ss',
'L' => 'YYYY-MM-dd',
'LL' => 'YYYY MMM D',
'LLL' => 'YYYY MMMM D HH:mm',
'LLLL' => 'YYYY MMMM D, dddd HH:mm',
],
]);
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* 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__.'/uz.php', [
'formats' => [
'L' => 'DD/MM/yy',
'LL' => 'D MMM, YYYY',
'LLL' => 'D MMMM, YYYY HH:mm',
'LLLL' => 'dddd, DD MMMM, YYYY HH:mm',
],
'meridiem' => ['ТО', 'ТК'],
]);