<?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
* - FourwingsY
* - François B
* - Jason Katz-Brown
* - Seokjun Kim
* - Junho Kim
* - JD Isaacks
* - Juwon Kim
*/
return [
'year' => '{1}? ?|]1,Inf[:count?',
'y' => ':count ?',
'month' => '{1}? ?|]1,Inf[:count?',
'm' => ':count ??',
'week' => ':count ??',
'w' => ':count ??',
'day' => '{1}??|]1,Inf[:count?',
'd' => ':count ?',
'hour' => '{1}? ??|]1,Inf[:count??',
'h' => ':count ??',
'minute' => '{1}1?|]1,Inf[:count?',
'min' => ':count ?',
'second' => '{1}? ?|]1,Inf[:count?',
's' => ':count ?',
'ago' => ':time ?',
'from_now' => ':time ?',
'after' => ':time ??',
'before' => ':time ??',
'formats' => [
'LT' => 'A h:mm',
'LTS' => 'A h:mm:ss',
'L' => 'YYYY.MM.DD.',
'LL' => 'YYYY? MMMM D?',
'LLL' => 'YYYY? MMMM D? A h:mm',
'LLLL' => 'YYYY? MMMM D? dddd A h: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 'M':
return $number.'?';
case 'w':
case 'W':
return $number.'?';
default:
return $number;
}
},
'meridiem' => ['??', '??'],
'months' => ['1?', '2?', '3?', '4?', '5?', '6?', '7?', '8?', '9?', '10?', '11?', '12?'],
'months_short' => ['1?', '2?', '3?', '4?', '5?', '6?', '7?', '8?', '9?', '10?', '11?', '12?'],
'weekdays' => ['???', '???', '???', '???', '???', '???', '???'],
'weekdays_short' => ['?', '?', '?', '?', '?', '?', '?'],
'weekdays_min' => ['?', '?', '?', '?', '?', '?', '?'],
'list' => ' ',
];
|