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