Sha256: 8161ec065d88f6efc89def523f2349b943186f3cd3e35e16bd70522a9406fd5c

Contents?: true

Size: 1.61 KB

Versions: 16

Compression:

Stored size: 1.61 KB

Contents

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

import moment from '../moment';

export default moment.defineLocale('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分',
        LTS : 'Ah時m分s秒',
        L : 'YYYY/MM/DD',
        LL : 'YYYY年M月D日',
        LLL : 'YYYY年M月D日Ah時m分',
        LLLL : 'YYYY年M月D日Ah時m分 dddd'
    },
    meridiemParse: /午前|午後/i,
    isPM : function (input) {
        return input === '午後';
    },
    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

16 entries across 16 versions & 3 rubygems

Version Path
active_record_survey_api-0.0.19 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
active_record_survey_api-0.0.18 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
active_record_survey_api-0.0.17 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
active_record_survey_api-0.0.14 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
active_record_survey_api-0.0.12 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
locomotivecms-3.2.0.rc1 vendor/assets/components/locomotive_sources/moment/src/locale/ja.js
locomotivecms-3.1.1 vendor/assets/components/locomotive_sources/moment/src/locale/ja.js
locomotivecms-3.1.0 vendor/assets/components/locomotive_sources/moment/src/locale/ja.js
active_record_survey_api-0.0.11 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
locomotivecms-3.1.0.rc3 vendor/assets/components/locomotive_sources/moment/src/locale/ja.js
locomotivecms-3.1.0.rc2 vendor/assets/components/locomotive_sources/moment/src/locale/ja.js
locomotivecms-3.1.0.rc1 vendor/assets/components/locomotive_sources/moment/src/locale/ja.js
active_record_survey_api-0.0.7 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
active_record_survey_api-0.0.6 spec/test_app/vendor/assets/bower_components/moment/src/locale/ja.js
date_picker-0.0.8 test/dummy/vendor/assets/components/moment/src/locale/ja.js
date_picker-0.0.7 test/dummy/vendor/assets/components/moment/src/locale/ja.js