ko.php
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?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:
* - Kunal Marwaha
* - FourwingsY
* - François B
* - Jason Katz-Brown
* - Seokjun Kim
* - Junho Kim
* - JD Isaacks
* - Juwon Kim
*/
return [
'year' => ':count년',
'a_year' => '{1}일년|]1,Inf[:count년',
'y' => ':count년',
'month' => ':count개월',
'a_month' => '{1}한달|]1,Inf[:count개월',
'm' => ':count개월',
'week' => ':count주',
'a_week' => '{1}일주일|]1,Inf[:count 주',
'w' => ':count주일',
'day' => ':count일',
'a_day' => '{1}하루|]1,Inf[:count일',
'd' => ':count일',
'hour' => ':count시간',
'a_hour' => '{1}한시간|]1,Inf[:count시간',
'h' => ':count시간',
'minute' => ':count분',
'a_minute' => '{1}일분|]1,Inf[:count분',
'min' => ':count분',
'second' => ':count초',
'a_second' => '{1}몇초|]1,Inf[:count초',
's' => ':count초',
'ago' => ':time 전',
'from_now' => ':time 후',
'after' => ':time 후',
'before' => ':time 전',
'diff_now' => '지금',
'diff_today' => '오늘',
'diff_yesterday' => '어제',
'diff_tomorrow' => '내일',
'formats' => [
'LT' => 'A h:mm',
'LTS' => 'A h:mm:ss',
'L' => 'YYYY.MM.DD.',
'LL' => 'YYYY년 MMMM D일',
'LLL' => 'YYYY년 MMMM D일 A h:mm',
'LLLL' => 'YYYY년 MMMM D일 dddd A h:mm',
],
'calendar' => [
'sameDay' => '오늘 LT',
'nextDay' => '내일 LT',
'nextWeek' => 'dddd LT',
'lastDay' => '어제 LT',
'lastWeek' => '지난주 dddd LT',
'sameElse' => 'L',
],
'ordinal' => function ($number, $period) {
switch ($period) {
case 'd':
case 'D':
case 'DDD':
return $number.'일';
case 'M':
return $number.'월';
case 'w':
case 'W':
return $number.'주';
default:
return $number;
}
},
'meridiem' => ['오전', '오후'],
'months' => ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
'months_short' => ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
'weekdays' => ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'],
'weekdays_short' => ['일', '월', '화', '수', '목', '금', '토'],
'weekdays_min' => ['일', '월', '화', '수', '목', '금', '토'],
'list' => ' ',
];