PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/locale/zh-hk.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/locale/zh-hk.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/locale/zh-hk.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 2 years ago
Size: 3,363 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Chinese (Hong Kong) [zh-hk] //! author : Ben : https://github.com/ben-lin //! author : Chris Lam : https://github.com/hehachris //! author : Konstantin : https://github.com/skfd ;(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 zhHk = moment.defineLocale('zh-hk', { months : '??_??_??_??_??_??_??_??_??_??_???_???'.split('_'), monthsShort : '1?_2?_3?_4?_5?_6?_7?_8?_9?_10?_11?_12?'.split('_'), weekdays : '???_???_???_???_???_???_???'.split('_'), weekdaysShort : '??_??_??_??_??_??_??'.split('_'), weekdaysMin : '?_?_?_?_?_?_?'.split('_'), longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', L : 'YYYY?MMMD?', LL : 'YYYY?MMMD?', LLL : 'YYYY?MMMD? HH:mm', LLLL : 'YYYY?MMMD?dddd HH:mm', l : 'YYYY?MMMD?', ll : 'YYYY?MMMD?', lll : 'YYYY?MMMD? HH:mm', llll : 'YYYY?MMMD?dddd HH:mm' }, meridiemParse: /??|??|??|??|??|??/, meridiemHour : function (hour, meridiem) { if (hour === 12) { hour = 0; } if (meridiem === '??' || meridiem === '??' || meridiem === '??') { return hour; } else if (meridiem === '??') { return hour >= 11 ? hour : hour + 12; } else if (meridiem === '??' || meridiem === '??') { return 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 : '[??]LT', nextDay : '[??]LT', nextWeek : '[?]ddddLT', lastDay : '[??]LT', lastWeek : '[?]ddddLT', sameElse : 'L' }, dayOfMonthOrdinalParse: /\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 ?' } }); return zhHk; })));