PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
buddypress
/
bp-core
/
js
/
vendor
/
moment-js
/
locale
//! moment.js locale configuration //! locale : Chinese (China) [zh-cn] //! author : suupic : https://github.com/suupic //! author : Zeno Zeng : https://github.com/zenozeng ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, function (moment) { 'use strict'; var zh_cn = moment.defineLocale('zh-cn', { months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'), weekdaysMin : '日_一_二_三_四_五_六'.split('_'), longDateFormat : { LT : 'Ah点mm分', LTS : 'Ah点m分s秒', L : 'YYYY-MM-DD', LL : 'YYYY年MMMD日', LLL : 'YYYY年MMMD日Ah点mm分', LLLL : 'YYYY年MMMD日ddddAh点mm分', l : 'YYYY-MM-DD', ll : 'YYYY年MMMD日', lll : 'YYYY年MMMD日Ah点mm分', llll : 'YYYY年MMMD日ddddAh点mm分' }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function (hour, meridiem) { if (hour === 12) { hour = 0; } if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { return hour; } else if (meridiem === '下午' || meridiem === '晚上') { return hour + 12; } else { // '中午' return hour >= 11 ? hour : hour + 12; } }, meridiem : function (hour, minute, isLower) { var hm = hour * 100 + minute; if (hm < 600) { return '凌晨'; } else if (hm < 900) { return '早上'; } else if (hm < 1130) { return '上午'; } else if (hm < 1230) { return '中午'; } else if (hm < 1800) { return '下午'; } else { return '晚上'; } }, calendar : { sameDay : function () { return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT'; }, nextDay : function () { return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT'; }, lastDay : function () { return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT'; }, nextWeek : function () { var startOfWeek, prefix; startOfWeek = moment().startOf('week'); prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]'; return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm'; }, lastWeek : function () { var startOfWeek, prefix; startOfWeek = moment().startOf('week'); prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]'; return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm'; }, sameElse : 'LL' }, ordinalParse: /\d{1,2}(日|月|周)/, ordinal : function (number, period) { switch (period) { case 'd': case 'D': case 'DDD': return number + '日'; case 'M': return number + '月'; case 'w': case 'W': return number + '周'; default: return number; } }, 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 年' }, week : { // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 dow : 1, // Monday is the first day of the week. doy : 4 // The week that contains Jan 4th is the first week of the year. } }); return zh_cn; }));
[+]
..
[-] sq.js
[edit]
[-] th.min.js
[edit]
[-] mi.js
[edit]
[-] he.min.js
[edit]
[-] en-au.js
[edit]
[-] bn.js
[edit]
[-] ms-my.js
[edit]
[-] de.min.js
[edit]
[-] af.js
[edit]
[-] tzm.min.js
[edit]
[-] te.min.js
[edit]
[-] tl-ph.js
[edit]
[-] bs.min.js
[edit]
[-] ms-my.min.js
[edit]
[-] lo.js
[edit]
[-] es-do.min.js
[edit]
[-] vi.min.js
[edit]
[-] it.min.js
[edit]
[-] ky.js
[edit]
[-] ko.js
[edit]
[-] et.min.js
[edit]
[-] ko.min.js
[edit]
[-] tr.min.js
[edit]
[-] eo.js
[edit]
[-] fr-ch.js
[edit]
[-] en-ie.js
[edit]
[-] ar-ma.min.js
[edit]
[-] my.min.js
[edit]
[-] vi.js
[edit]
[-] fi.min.js
[edit]
[-] en-nz.min.js
[edit]
[-] bo.js
[edit]
[-] hr.min.js
[edit]
[-] tr.js
[edit]
[-] ml.min.js
[edit]
[-] he.js
[edit]
[-] de-at.js
[edit]
[-] el.min.js
[edit]
[-] sr.js
[edit]
[-] it.js
[edit]
[-] ru.js
[edit]
[-] pl.js
[edit]
[-] sw.min.js
[edit]
[-] x-pseudo.js
[edit]
[-] nb.js
[edit]
[-] km.js
[edit]
[-] km.min.js
[edit]
[-] en-ie.min.js
[edit]
[-] ar.js
[edit]
[-] fr.js
[edit]
[-] hr.js
[edit]
[-] mk.js
[edit]
[-] ss.js
[edit]
[-] se.js
[edit]
[-] te.js
[edit]
[-] el.js
[edit]
[-] cy.js
[edit]
[-] en-gb.js
[edit]
[-] ta.min.js
[edit]
[-] sq.min.js
[edit]
[-] da.min.js
[edit]
[-] tl-ph.min.js
[edit]
[-] ta.js
[edit]
[-] ar-tn.js
[edit]
[-] sw.js
[edit]
[-] en-gb.min.js
[edit]
[-] pl.min.js
[edit]
[-] my.js
[edit]
[-] ar-ly.min.js
[edit]
[-] sv.js
[edit]
[-] lv.min.js
[edit]
[-] sk.min.js
[edit]
[-] ar-ma.js
[edit]
[-] dv.min.js
[edit]
[-] tlh.js
[edit]
[-] kk.min.js
[edit]
[-] ar-tn.min.js
[edit]
[-] tlh.min.js
[edit]
[-] fa.js
[edit]
[-] ss.min.js
[edit]
[-] kk.js
[edit]
[-] id.js
[edit]
[-] me.min.js
[edit]
[-] zh-tw.js
[edit]
[-] ml.js
[edit]
[-] hu.js
[edit]
[-] gd.js
[edit]
[-] ru.min.js
[edit]
[-] cs.min.js
[edit]
[-] x-pseudo.min.js
[edit]
[-] gd.min.js
[edit]
[-] zh-cn.js
[edit]
[-] si.min.js
[edit]
[-] lt.min.js
[edit]
[-] bo.min.js
[edit]
[-] fo.min.js
[edit]
[-] ro.min.js
[edit]
[-] mr.min.js
[edit]
[-] is.js
[edit]
[-] nb.min.js
[edit]
[-] pt.min.js
[edit]
[-] ar.min.js
[edit]
[-] ne.js
[edit]
[-] tzm-latn.js
[edit]
[-] fa.min.js
[edit]
[-] eu.js
[edit]
[-] en-ca.js
[edit]
[-] pa-in.js
[edit]
[-] ja.min.js
[edit]
[-] gl.js
[edit]
[-] mr.js
[edit]
[-] zh-tw.min.js
[edit]
[-] nl.js
[edit]
[-] nl.min.js
[edit]
[-] pt.js
[edit]
[-] es-do.js
[edit]
[-] de.js
[edit]
[-] uz.js
[edit]
[-] mk.min.js
[edit]
[-] cs.js
[edit]
[-] lt.js
[edit]
[-] lb.js
[edit]
[-] uk.min.js
[edit]
[-] jv.min.js
[edit]
[-] sk.js
[edit]
[-] ms.js
[edit]
[-] me.js
[edit]
[-] en-au.min.js
[edit]
[-] et.js
[edit]
[-] af.min.js
[edit]
[-] fr-ch.min.js
[edit]
[-] is.min.js
[edit]
[-] si.js
[edit]
[-] ms.min.js
[edit]
[-] tzm-latn.min.js
[edit]
[-] es.min.js
[edit]
[-] se.min.js
[edit]
[-] sr-cyrl.min.js
[edit]
[-] nn.min.js
[edit]
[-] ar-ly.js
[edit]
[-] zh-hk.js
[edit]
[-] lv.js
[edit]
[-] hu.min.js
[edit]
[-] bn.min.js
[edit]
[-] fi.js
[edit]
[-] fy.min.js
[edit]
[-] ro.js
[edit]
[-] sr-cyrl.js
[edit]
[-] lb.min.js
[edit]
[-] en-ca.min.js
[edit]
[-] mi.min.js
[edit]
[-] ka.js
[edit]
[-] nn.js
[edit]
[-] lo.min.js
[edit]
[-] sr.min.js
[edit]
[-] th.js
[edit]
[-] pa-in.min.js
[edit]
[-] id.min.js
[edit]
[-] hi.js
[edit]
[-] zh-cn.min.js
[edit]
[-] uk.js
[edit]
[-] sl.js
[edit]
[-] ne.min.js
[edit]
[-] bs.js
[edit]
[-] be.js
[edit]
[-] tzm.js
[edit]
[-] be.min.js
[edit]
[-] es.js
[edit]
[-] eu.min.js
[edit]
[-] hy-am.min.js
[edit]
[-] ky.min.js
[edit]
[-] tzl.min.js
[edit]
[-] br.min.js
[edit]
[-] fr.min.js
[edit]
[-] hi.min.js
[edit]
[-] pt-br.js
[edit]
[-] tzl.js
[edit]
[-] cy.min.js
[edit]
[-] br.js
[edit]
[-] pt-br.min.js
[edit]
[-] ar-sa.min.js
[edit]
[-] eo.min.js
[edit]
[-] az.js
[edit]
[-] hy-am.js
[edit]
[-] ka.min.js
[edit]
[-] sl.min.js
[edit]
[-] ca.js
[edit]
[-] az.min.js
[edit]
[-] fr-ca.min.js
[edit]
[-] da.js
[edit]
[-] ca.min.js
[edit]
[-] fr-ca.js
[edit]
[-] bg.min.js
[edit]
[-] ja.js
[edit]
[-] uz.min.js
[edit]
[-] en-nz.js
[edit]
[-] gl.min.js
[edit]
[-] bg.js
[edit]
[-] ar-sa.js
[edit]
[-] jv.js
[edit]
[-] sv.min.js
[edit]
[-] cv.min.js
[edit]
[-] de-at.min.js
[edit]
[-] dv.js
[edit]
[-] zh-hk.min.js
[edit]
[-] fo.js
[edit]
[-] fy.js
[edit]
[-] cv.js
[edit]