1 //! moment.js locale configuration
3 ;(function (global
, factory
) {
4 typeof exports
=== 'object' && typeof module
!== 'undefined'
5 && typeof require
=== 'function' ? factory(require('../moment')) :
6 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
8 }(this, (function (moment
) { 'use strict';
11 var vi
= moment
.defineLocale('vi', {
12 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('_'),
13 monthsShort
: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
14 monthsParseExact
: true,
15 weekdays
: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
16 weekdaysShort
: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
17 weekdaysMin
: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
18 weekdaysParseExact
: true,
19 meridiemParse
: /sa|ch/i,
20 isPM : function (input
) {
21 return /^ch$/i.test(input
);
23 meridiem : function (hours
, minutes
, isLower
) {
25 return isLower
? 'sa' : 'SA';
27 return isLower
? 'ch' : 'CH';
34 LL
: 'D MMMM [năm] YYYY',
35 LLL
: 'D MMMM [năm] YYYY HH:mm',
36 LLLL
: 'dddd, D MMMM [năm] YYYY HH:mm',
39 lll
: 'D MMM YYYY HH:mm',
40 llll
: 'ddd, D MMM YYYY HH:mm'
43 sameDay
: '[Hôm nay lúc] LT',
44 nextDay
: '[Ngày mai lúc] LT',
45 nextWeek
: 'dddd [tuần tới lúc] LT',
46 lastDay
: '[Hôm qua lúc] LT',
47 lastWeek
: 'dddd [tuần rồi lúc] LT',
66 dayOfMonthOrdinalParse
: /\d{1,2}/,
67 ordinal : function (number
) {
71 dow
: 1, // Monday is the first day of the week.
72 doy
: 4 // The week that contains Jan 4th is the first week of the year.