resources: Bump moment.js from 2.15.0 to 2.19.3
[lhc/web/wiklou.git] / resources / lib / moment / locale / ja.js
1 //! moment.js locale configuration
2 //! locale : Japanese [ja]
3 //! author : LI Long : https://github.com/baryon
4
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
9 factory(global.moment)
10 }(this, (function (moment) { 'use strict';
11
12
13 var ja = moment.defineLocale('ja', {
14 months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
15 monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
16 weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
17 weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
18 weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
19 longDateFormat : {
20 LT : 'HH:mm',
21 LTS : 'HH:mm:ss',
22 L : 'YYYY/MM/DD',
23 LL : 'YYYY年M月D日',
24 LLL : 'YYYY年M月D日 HH:mm',
25 LLLL : 'YYYY年M月D日 HH:mm dddd',
26 l : 'YYYY/MM/DD',
27 ll : 'YYYY年M月D日',
28 lll : 'YYYY年M月D日 HH:mm',
29 llll : 'YYYY年M月D日 HH:mm dddd'
30 },
31 meridiemParse: /午前|午後/i,
32 isPM : function (input) {
33 return input === '午後';
34 },
35 meridiem : function (hour, minute, isLower) {
36 if (hour < 12) {
37 return '午前';
38 } else {
39 return '午後';
40 }
41 },
42 calendar : {
43 sameDay : '[今日] LT',
44 nextDay : '[明日] LT',
45 nextWeek : '[来週]dddd LT',
46 lastDay : '[昨日] LT',
47 lastWeek : '[前週]dddd LT',
48 sameElse : 'L'
49 },
50 dayOfMonthOrdinalParse : /\d{1,2}日/,
51 ordinal : function (number, period) {
52 switch (period) {
53 case 'd':
54 case 'D':
55 case 'DDD':
56 return number + '日';
57 default:
58 return number;
59 }
60 },
61 relativeTime : {
62 future : '%s後',
63 past : '%s前',
64 s : '数秒',
65 m : '1分',
66 mm : '%d分',
67 h : '1時間',
68 hh : '%d時間',
69 d : '1日',
70 dd : '%d日',
71 M : '1ヶ月',
72 MM : '%dヶ月',
73 y : '1年',
74 yy : '%d年'
75 }
76 });
77
78 return ja;
79
80 })));