forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.calendars-ja.js
25 lines (25 loc) · 1.1 KB
/
jquery.calendars-ja.js
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
/* http://keith-wood.name/calendars.html
Japanese localisation for Gregorian/Julian calendars for jQuery.
Written by Kentaro SATO ([email protected]). */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['ja'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['1月','2月','3月','4月','5月','6月',
'7月','8月','9月','10月','11月','12月'],
monthNamesShort: ['1月','2月','3月','4月','5月','6月',
'7月','8月','9月','10月','11月','12月'],
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
dayNamesShort: ['日','月','火','水','木','金','土'],
dayNamesMin: ['日','月','火','水','木','金','土'],
digits: $.calendars.substituteChineseDigits(
['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
dateFormat: 'yyyy/mm/dd',
firstDay: 0,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions['ja'] =
$.calendars.calendars.gregorian.prototype.regionalOptions['ja'];
}
})(jQuery);