blob: acb7e92c5092e776926cee106bf30230c37becc1 [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 * - Josh Soref
15 * - François B
16 * - Tim Fish
17 * - shaishavgandhi05
18 * - Serhan Apaydın
19 * - JD Isaacks
20 * - tomhorvat
21 * - Josh Soref
22 * - François B
23 * - shaishavgandhi05
24 * - Serhan Apaydın
25 * - JD Isaacks
26 * - tomhorvat
27 * - Stjepan Majdak
28 * - Vanja Retkovac (vr00)
29 */
30return [
31 'year' => ':count godinu|:count godine|:count godina',
32 'y' => ':count god.|:count god.|:count god.',
33 'month' => ':count mjesec|:count mjeseca|:count mjeseci',
34 'm' => ':count mj.|:count mj.|:count mj.',
35 'week' => ':count tjedan|:count tjedna|:count tjedana',
36 'w' => ':count tj.|:count tj.|:count tj.',
37 'day' => ':count dan|:count dana|:count dana',
38 'd' => ':count d.|:count d.|:count d.',
39 'hour' => ':count sat|:count sata|:count sati',
40 'h' => ':count sat|:count sata|:count sati',
41 'minute' => ':count minutu|:count minute|:count minuta',
42 'min' => ':count min.|:count min.|:count min.',
43 'second' => ':count sekundu|:count sekunde|:count sekundi',
44 'a_second' => 'nekoliko sekundi|:count sekunde|:count sekundi',
45 's' => ':count sek.|:count sek.|:count sek.',
46 'ago' => 'prije :time',
47 'from_now' => 'za :time',
48 'after' => ':time poslije',
49 'before' => ':time prije',
50 'diff_now' => 'sad',
51 'diff_today' => 'danas',
52 'diff_today_regexp' => 'danas(?:\\s+u)?',
53 'diff_yesterday' => 'jučer',
54 'diff_yesterday_regexp' => 'jučer(?:\\s+u)?',
55 'diff_tomorrow' => 'sutra',
56 'diff_tomorrow_regexp' => 'sutra(?:\\s+u)?',
57 'diff_before_yesterday' => 'prekjučer',
58 'diff_after_tomorrow' => 'prekosutra',
59 'formats' => [
60 'LT' => 'H:mm',
61 'LTS' => 'H:mm:ss',
62 'L' => 'D. M. YYYY.',
63 'LL' => 'D. MMMM YYYY.',
64 'LLL' => 'D. MMMM YYYY. H:mm',
65 'LLLL' => 'dddd, D. MMMM YYYY. H:mm',
66 ],
67 'calendar' => [
68 'sameDay' => '[danas u] LT',
69 'nextDay' => '[sutra u] LT',
70 'nextWeek' => function (\Carbon\CarbonInterface $date) {
71 switch ($date->dayOfWeek) {
72 case 0:
73 return '[u] [nedjelju] [u] LT';
74 case 3:
75 return '[u] [srijedu] [u] LT';
76 case 6:
77 return '[u] [subotu] [u] LT';
78 default:
79 return '[u] dddd [u] LT';
80 }
81 },
82 'lastDay' => '[jučer u] LT',
83 'lastWeek' => function (\Carbon\CarbonInterface $date) {
84 switch ($date->dayOfWeek) {
85 case 0:
86 case 3:
87 return '[prošlu] dddd [u] LT';
88 case 6:
89 return '[prošle] [subote] [u] LT';
90 default:
91 return '[prošli] dddd [u] LT';
92 }
93 },
94 'sameElse' => 'L',
95 ],
96 'ordinal' => ':number.',
97 'months' => ['siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', 'rujna', 'listopada', 'studenoga', 'prosinca'],
98 'months_standalone' => ['siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac'],
99 'months_short' => ['sij.', 'velj.', 'ožu.', 'tra.', 'svi.', 'lip.', 'srp.', 'kol.', 'ruj.', 'lis.', 'stu.', 'pro.'],
100 'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
101 'weekdays' => ['nedjelju', 'ponedjeljak', 'utorak', 'srijedu', 'četvrtak', 'petak', 'subotu'],
102 'weekdays_standalone' => ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
103 'weekdays_short' => ['ned.', 'pon.', 'uto.', 'sri.', 'čet.', 'pet.', 'sub.'],
104 'weekdays_min' => ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'],
105 'first_day_of_week' => 1,
106 'day_of_first_week_of_year' => 1,
107 'list' => [', ', ' i '],
108];