PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/vi.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/vi.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/vi.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: 2,250 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Vietnamese [vi] //! author : Bang Nguyen : https://github.com/bangnk import moment from '../moment'; export default moment.defineLocale('vi', { months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), monthsParseExact : true, weekdays : 'ch? nh?t_th? hai_th? ba_th? t?_th? n?m_th? sáu_th? b?y'.split('_'), weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), weekdaysParseExact : true, meridiemParse: /sa|ch/i, isPM : function (input) { return /^ch$/i.test(input); }, meridiem : function (hours, minutes, isLower) { if (hours < 12) { return isLower ? 'sa' : 'SA'; } else { return isLower ? 'ch' : 'CH'; } }, longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM [n?m] YYYY', LLL : 'D MMMM [n?m] YYYY HH:mm', LLLL : 'dddd, D MMMM [n?m] YYYY HH:mm', l : 'DD/M/YYYY', ll : 'D MMM YYYY', lll : 'D MMM YYYY HH:mm', llll : 'ddd, D MMM YYYY HH:mm' }, calendar : { sameDay: '[Hôm nay lúc] LT', nextDay: '[Ngày mai lúc] LT', nextWeek: 'dddd [tu?n t?i lúc] LT', lastDay: '[Hôm qua lúc] LT', lastWeek: 'dddd [tu?n r?i lúc] LT', sameElse: 'L' }, relativeTime : { future : '%s t?i', past : '%s tr??c', s : 'vài giây', m : 'm?t phút', mm : '%d phút', h : 'm?t gi?', hh : '%d gi?', d : 'm?t ngày', dd : '%d ngày', M : 'm?t tháng', MM : '%d tháng', y : 'm?t n?m', yy : '%d n?m' }, dayOfMonthOrdinalParse: /\d{1,2}/, ordinal : function (number) { return number; }, week : { 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. } });