<?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:
* - mhamlet
*/
return [
'year' => ':count ????',
'a_year' => '????|:count ????',
'y' => ':count?',
'month' => ':count ????',
'a_month' => '????|:count ????',
'm' => ':count??',
'week' => ':count ?????',
'a_week' => '?????|:count ?????',
'w' => ':count?',
'day' => ':count ??',
'a_day' => '??|:count ??',
'd' => ':count??',
'hour' => ':count ???',
'a_hour' => '???|:count ???',
'h' => ':count?',
'minute' => ':count ????',
'a_minute' => '????|:count ????',
'min' => ':count?',
'second' => ':count ????????',
'a_second' => '?? ???? ????????|:count ????????',
's' => ':count???',
'ago' => ':time ????',
'from_now' => ':time ????? ?????',
'after' => ':time ????',
'before' => ':time ????',
'diff_yesterday' => '????',
'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' => 'dddd, D MMMM YYYY ?., HH:mm',
],
'calendar' => [
'sameDay' => '[?????] LT',
'nextDay' => '[????] LT',
'nextWeek' => 'dddd [??? ????] LT',
'lastDay' => '[????] LT',
'lastWeek' => '[?????] dddd [??? ????] LT',
'sameElse' => 'L',
],
'ordinal' => function ($number, $period) {
switch ($period) {
case 'DDD':
case 'w':
case 'W':
case 'DDDo':
return $number.($number === 1 ? '-??' : '-??');
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?/',
'weekdays' => ['??????', '??????????', '?????????', '??????????', '?????????', '??????', '?????'],
'weekdays_short' => ['???', '???', '???', '???', '???', '????', '???'],
'weekdays_min' => ['???', '???', '???', '???', '???', '????', '???'],
'list' => [', ', ' ?? '],
'first_day_of_week' => 1,
];
|