blob: 7c40f9c12e53f1d0177596cd9ee7c1b5b2150df5 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3/**
4 * This file is part of the Carbon package.
5 *
6 * (c) Brian Nesbitt <brian@nesbot.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12/*
13 * Authors:
14 * - Alessandro Di Felice
15 * - François B
16 * - Tim Fish
17 * - Gabriel Monteagudo
18 * - JD Isaacks
19 * - yiannisdesp
20 * - Ilias Kasmeridis (iliaskasm)
21 */
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010022
23use Carbon\CarbonInterface;
24
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020025return [
26 'year' => ':count χρόνος|:count χρόνια',
27 'a_year' => 'ένας χρόνος|:count χρόνια',
28 'y' => ':count χρ.',
29 'month' => ':count μήνας|:count μήνες',
30 'a_month' => 'ένας μήνας|:count μήνες',
31 'm' => ':count μήν.',
32 'week' => ':count εβδομάδα|:count εβδομάδες',
33 'a_week' => 'μια εβδομάδα|:count εβδομάδες',
34 'w' => ':count εβδ.',
35 'day' => ':count μέρα|:count μέρες',
36 'a_day' => 'μία μέρα|:count μέρες',
37 'd' => ':count μέρ.',
38 'hour' => ':count ώρα|:count ώρες',
39 'a_hour' => 'μία ώρα|:count ώρες',
40 'h' => ':count ώρα|:count ώρες',
41 'minute' => ':count λεπτό|:count λεπτά',
42 'a_minute' => 'ένα λεπτό|:count λεπτά',
43 'min' => ':count λεπ.',
44 'second' => ':count δευτερόλεπτο|:count δευτερόλεπτα',
45 'a_second' => 'λίγα δευτερόλεπτα|:count δευτερόλεπτα',
46 's' => ':count δευ.',
47 'ago' => 'πριν :time',
48 'from_now' => 'σε :time',
49 'after' => ':time μετά',
50 'before' => ':time πριν',
51 'diff_now' => 'τώρα',
52 'diff_today' => 'Σήμερα',
53 'diff_today_regexp' => 'Σήμερα(?:\\s+{})?',
54 'diff_yesterday' => 'χθες',
55 'diff_yesterday_regexp' => 'Χθες(?:\\s+{})?',
56 'diff_tomorrow' => 'αύριο',
57 'diff_tomorrow_regexp' => 'Αύριο(?:\\s+{})?',
58 'formats' => [
59 'LT' => 'h:mm A',
60 'LTS' => 'h:mm:ss A',
61 'L' => 'DD/MM/YYYY',
62 'LL' => 'D MMMM YYYY',
63 'LLL' => 'D MMMM YYYY h:mm A',
64 'LLLL' => 'dddd, D MMMM YYYY h:mm A',
65 ],
66 'calendar' => [
67 'sameDay' => '[Σήμερα {}] LT',
68 'nextDay' => '[Αύριο {}] LT',
69 'nextWeek' => 'dddd [{}] LT',
70 'lastDay' => '[Χθες {}] LT',
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010071 'lastWeek' => function (CarbonInterface $current) {
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020072 switch ($current->dayOfWeek) {
73 case 6:
74 return '[το προηγούμενο] dddd [{}] LT';
75 default:
76 return '[την προηγούμενη] dddd [{}] LT';
77 }
78 },
79 'sameElse' => 'L',
80 ],
81 'ordinal' => ':numberη',
82 'meridiem' => ['ΠΜ', 'ΜΜ', 'πμ', 'μμ'],
83 'months' => ['Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου'],
84 'months_standalone' => ['Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος'],
85 'months_regexp' => '/(D[oD]?[\s,]+MMMM|L{2,4}|l{2,4})/',
86 'months_short' => ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαϊ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'],
87 'weekdays' => ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'],
88 'weekdays_short' => ['Κυρ', 'Δευ', 'Τρι', 'Τετ', 'Πεμ', 'Παρ', 'Σαβ'],
89 'weekdays_min' => ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πε', 'Πα', 'Σα'],
90 'first_day_of_week' => 1,
91 'day_of_first_week_of_year' => 4,
92 'list' => [', ', ' και '],
93];