PHP Classes

File: vendor/nesbot/carbon/src/Carbon/Lang/tg.php

Recommend this page to a friend!
  Packages of OmDiaries   Laravel AI Email Assistant   vendor/nesbot/carbon/src/Carbon/Lang/tg.php   Download  
File: vendor/nesbot/carbon/src/Carbon/Lang/tg.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Laravel AI Email Assistant
Generate an email message with the OpenAI GPT API
Author: By
Last change:
Date: 4 months ago
Size: 3,565 bytes
 

Contents

Class file image Download
<?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:
 * - Orif N. Jr
 */
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_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',
    ],
   
'ordinal' => function ($number) {
        if (
$number === 0) { // special case for zero
           
return "$number-?nc?";
        }

        static
$suffixes = [
           
0 => '-??',
           
1 => '-??',
           
2 => '-??',
           
3 => '-??',
           
4 => '-??',
           
5 => '-??',
           
6 => '-??',
           
7 => '-??',
           
8 => '-??',
           
9 => '-??',
           
10 => '-??',
           
12 => '-??',
           
13 => '-??',
           
20 => '-??',
           
30 => '-??',
           
40 => '-??',
           
50 => '-??',
           
60 => '-??',
           
70 => '-??',
           
80 => '-??',
           
90 => '-??',
           
100 => '-??',
        ];

        return
$number.($suffixes[$number] ?? $suffixes[$number % 10] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
    },
   
'meridiem' => function ($hour) {
        if (
$hour < 4) {
            return
'???';
        }
        if (
$hour < 11) {
            return
'????';
        }
        if (
$hour < 16) {
            return
'???';
        }
        if (
$hour < 19) {
            return
'?????';
        }

        return
'???';
    },
   
'months' => ['?????', '??????', '????', '?????', '???', '???', '???', '??????', '???????', '??????', '?????', '??????'],
   
'months_short' => ['???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???', '???'],
   
'weekdays' => ['???????', '???????', '???????', '????????', '?????????', '?????', '?????'],
   
'weekdays_short' => ['???', '???', '???', '???', '???', '???', '???'],
   
'weekdays_min' => ['??', '??', '??', '??', '??', '??', '??'],
   
'first_day_of_week' => 1,
   
'day_of_first_week_of_year' => 1,
   
'list' => [', ', ' ?? '],
];