| 148 |
lars |
1 |
<?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 |
* - du
|
|
|
16 |
* - JD Isaacks
|
|
|
17 |
* - Nafies Luthfi
|
|
|
18 |
* - Raymundus Jati Primanda (mundusjp)
|
|
|
19 |
* - diankur313
|
|
|
20 |
* - a-wip0
|
|
|
21 |
*/
|
|
|
22 |
return [
|
|
|
23 |
'year' => ':count tahun',
|
|
|
24 |
'a_year' => '{1}setahun|]1,Inf[:count tahun',
|
|
|
25 |
'y' => ':countthn',
|
|
|
26 |
'month' => ':count bulan',
|
|
|
27 |
'a_month' => '{1}sebulan|]1,Inf[:count bulan',
|
|
|
28 |
'm' => ':countbln',
|
|
|
29 |
'week' => ':count minggu',
|
|
|
30 |
'a_week' => '{1}seminggu|]1,Inf[:count minggu',
|
|
|
31 |
'w' => ':countmgg',
|
|
|
32 |
'day' => ':count hari',
|
|
|
33 |
'a_day' => '{1}sehari|]1,Inf[:count hari',
|
|
|
34 |
'd' => ':counthr',
|
|
|
35 |
'hour' => ':count jam',
|
|
|
36 |
'a_hour' => '{1}sejam|]1,Inf[:count jam',
|
|
|
37 |
'h' => ':countj',
|
|
|
38 |
'minute' => ':count menit',
|
|
|
39 |
'a_minute' => '{1}semenit|]1,Inf[:count menit',
|
|
|
40 |
'min' => ':countmnt',
|
|
|
41 |
'second' => ':count detik',
|
|
|
42 |
'a_second' => '{1}beberapa detik|]1,Inf[:count detik',
|
|
|
43 |
's' => ':countdt',
|
|
|
44 |
'ago' => ':time yang lalu',
|
|
|
45 |
'from_now' => ':time dari sekarang',
|
|
|
46 |
'after' => ':time setelahnya',
|
|
|
47 |
'before' => ':time sebelumnya',
|
|
|
48 |
'diff_now' => 'sekarang',
|
|
|
49 |
'diff_today' => 'Hari',
|
|
|
50 |
'diff_today_regexp' => 'Hari(?:\\s+ini)?(?:\\s+pukul)?',
|
|
|
51 |
'diff_yesterday' => 'kemarin',
|
|
|
52 |
'diff_yesterday_regexp' => 'Kemarin(?:\\s+pukul)?',
|
|
|
53 |
'diff_tomorrow' => 'besok',
|
|
|
54 |
'diff_tomorrow_regexp' => 'Besok(?:\\s+pukul)?',
|
|
|
55 |
'formats' => [
|
|
|
56 |
'LT' => 'HH.mm',
|
|
|
57 |
'LTS' => 'HH.mm.ss',
|
|
|
58 |
'L' => 'DD/MM/YYYY',
|
|
|
59 |
'LL' => 'D MMMM YYYY',
|
|
|
60 |
'LLL' => 'D MMMM YYYY [pukul] HH.mm',
|
|
|
61 |
'LLLL' => 'dddd, D MMMM YYYY [pukul] HH.mm',
|
|
|
62 |
],
|
|
|
63 |
'calendar' => [
|
|
|
64 |
'sameDay' => '[Hari ini pukul] LT',
|
|
|
65 |
'nextDay' => '[Besok pukul] LT',
|
|
|
66 |
'nextWeek' => 'dddd [pukul] LT',
|
|
|
67 |
'lastDay' => '[Kemarin pukul] LT',
|
|
|
68 |
'lastWeek' => 'dddd [lalu pukul] LT',
|
|
|
69 |
'sameElse' => 'L',
|
|
|
70 |
],
|
|
|
71 |
'meridiem' => function ($hour) {
|
|
|
72 |
if ($hour < 11) {
|
|
|
73 |
return 'pagi';
|
|
|
74 |
}
|
|
|
75 |
if ($hour < 15) {
|
|
|
76 |
return 'siang';
|
|
|
77 |
}
|
|
|
78 |
if ($hour < 19) {
|
|
|
79 |
return 'sore';
|
|
|
80 |
}
|
|
|
81 |
|
|
|
82 |
return 'malam';
|
|
|
83 |
},
|
|
|
84 |
'months' => ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'],
|
|
|
85 |
'months_short' => ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'],
|
|
|
86 |
'weekdays' => ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'],
|
|
|
87 |
'weekdays_short' => ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
|
|
|
88 |
'weekdays_min' => ['Mg', 'Sn', 'Sl', 'Rb', 'Km', 'Jm', 'Sb'],
|
|
|
89 |
'first_day_of_week' => 1,
|
|
|
90 |
'day_of_first_week_of_year' => 1,
|
|
|
91 |
'list' => [', ', ' dan '],
|
|
|
92 |
];
|