PHP Classes

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

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/nesbot/carbon/src/Carbon/Lang/mk.php   Download  
File: vendor/nesbot/carbon/src/Carbon/Lang/mk.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Chatto PHP Websocket Chat System
Websocket based chat system using Ratchet library
Author: By
Last change:
Date: 3 years ago
Size: 3,854 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:
 * - Sashko Todorov
 * - Josh Soref
 * - François B
 * - Serhan Apayd?n
 * - Borislav Mickov
 * - JD Isaacks
 * - Tomi Atanasoski
 */
return [
   
'year' => ':count ??????|:count ??????',
   
'a_year' => '??????|:count ??????',
   
'y' => ':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 ???.',
   
'second' => ':count ???????|:count ???????',
   
'a_second' => '??????? ???????|:count ???????',
   
's' => ':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 $date) {
            switch (
$date->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' => ['?e', '?o', '??', '??', '??', '??', '?a'],
   
'first_day_of_week' => 1,
   
'day_of_first_week_of_year' => 1,
   
'list' => [', ', ' ? '],
   
'meridiem' => ['??', '??'],
];