<?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
* - François B
* - Serhan Apayd?n
* - JD Isaacks
* - Glavi?
*/
return [
'year' => ':count ??????|:count ??????',
'a_year' => '??????|:count ??????',
'y' => ':count ??????|:count ??????',
'month' => ':count ?????|:count ??????',
'a_month' => '?????|:count ??????',
'm' => ':count ?????|:count ??????',
'week' => ':count ???????|:count ???????',
'a_week' => '???????|:count ???????',
'w' => ':count ???????|:count ???????',
'day' => ':count ???|:count ???',
'a_day' => '???|:count ???',
'd' => ':count ???|:count ???',
'hour' => ':count ???|:count ????',
'a_hour' => '???|:count ????',
'h' => ':count ???|:count ????',
'minute' => ':count ??????|:count ??????',
'a_minute' => '??????|:count ??????',
'min' => ':count ??????|:count ??????',
'second' => ':count ???????|:count ???????',
'a_second' => '??????? ???????|:count ???????',
's' => ':count ???????|:count ???????',
'ago' => '????? :time',
'from_now' => '???? :time',
'after' => '???? :time',
'before' => '????? :time',
'formats' => [
'LT' => 'H:mm',
'LTS' => 'H:mm:ss',
'L' => 'D.MM.YYYY',
'LL' => 'D MMMM YYYY',
'LLL' => 'D MMMM YYYY H:mm',
'LLLL' => 'dddd, D MMMM YYYY H:mm',
],
'calendar' => [
'sameDay' => '[???? ?] LT',
'nextDay' => '[???? ?] LT',
'nextWeek' => 'dddd [?] LT',
'lastDay' => '[????? ?] LT',
'lastWeek' => function (\Carbon\CarbonInterface $current) {
switch ($current->dayOfWeek) {
case 0:
case 3:
case 6:
return '[? ??????????] dddd [?] LT';
default:
return '[? ?????????] dddd [?] LT';
}
},
'sameElse' => 'L',
],
'ordinal' => function ($number) {
$lastDigit = $number % 10;
$last2Digits = $number % 100;
if ($number === 0) {
return "$number-??";
}
if ($last2Digits === 0) {
return "$number-??";
}
if ($last2Digits > 10 && $last2Digits < 20) {
return "$number-??";
}
if ($lastDigit === 1) {
return "$number-??";
}
if ($lastDigit === 2) {
return "$number-??";
}
if ($lastDigit === 7 || $lastDigit === 8) {
return "$number-??";
}
return "$number-??";
},
'months' => ['??????', '????????', '????', '?????', '???', '???', '???', '??????', '?????????', '????????', '???????', '????????'],
'months_short' => ['???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???'],
'weekdays' => ['??????', '??????????', '???????', '?????', '?????????', '?????', '??????'],
'weekdays_short' => ['???', '???', '???', '???', '???', '???', '???'],
'weekdays_min' => ['??', '??', '??', '??', '??', '??', '??'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'list' => [', ', ' ? '],
'meridiem' => ['????? ????', '????????'],
];
|