Sha256: 9350ff45f1dd5fa5da4be248157f95d64fde3586d6ba304b59a9d6f3a011ccf4

Contents?: true

Size: 1.96 KB

Versions: 11

Compression:

Stored size: 1.96 KB

Contents

// moment.js language configuration
// language : japanese (ja)
// author : LI Long : https://github.com/baryon

(function (factory) {
    if (typeof define === 'function' && define.amd) {
        define(['moment'], factory); // AMD
    } else if (typeof exports === 'object') {
        module.exports = factory(require('../moment')); // Node
    } else {
        factory(window.moment); // Browser global
    }
}(function (moment) {
    return moment.lang('ja', {
        months : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
        monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
        weekdays : "日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),
        weekdaysShort : "日_月_火_水_木_金_土".split("_"),
        weekdaysMin : "日_月_火_水_木_金_土".split("_"),
        longDateFormat : {
            LT : "Ah時m分",
            L : "YYYY/MM/DD",
            LL : "YYYY年M月D日",
            LLL : "YYYY年M月D日LT",
            LLLL : "YYYY年M月D日LT dddd"
        },
        meridiem : function (hour, minute, isLower) {
            if (hour < 12) {
                return "午前";
            } else {
                return "午後";
            }
        },
        calendar : {
            sameDay : '[今日] LT',
            nextDay : '[明日] LT',
            nextWeek : '[来週]dddd LT',
            lastDay : '[昨日] LT',
            lastWeek : '[前週]dddd LT',
            sameElse : 'L'
        },
        relativeTime : {
            future : "%s後",
            past : "%s前",
            s : "数秒",
            m : "1分",
            mm : "%d分",
            h : "1時間",
            hh : "%d時間",
            d : "1日",
            dd : "%d日",
            M : "1ヶ月",
            MM : "%dヶ月",
            y : "1年",
            yy : "%d年"
        }
    });
}));

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
bootstrap3-datetimepicker-rails-3.0.0.2 vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js
bootstrap3-datetimepicker-rails-3.0.0.1 vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js
local_pac-0.10.2 vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js
local_pac-0.10.1 vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js
local_pac-0.10.0 vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js
local_pac-0.9.0 vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js
bootstrap3-datetimepicker-rails-3.0.0 vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js
local_pac-0.7.0 vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js
bootstrap3-datetimepicker-rails-2.1.30 vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js
bootstrap3-datetimepicker-rails-2.1.20.1 vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js
bootstrap3-datetimepicker-rails-2.1.20 vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js