Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / vi.js
1 //! moment.js locale configuration
2
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) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
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);
22 },
23 meridiem : function (hours, minutes, isLower) {
24 if (hours < 12) {
25 return isLower ? 'sa' : 'SA';
26 } else {
27 return isLower ? 'ch' : 'CH';
28 }
29 },
30 longDateFormat : {
31 LT : 'HH:mm',
32 LTS : 'HH:mm:ss',
33 L : 'DD/MM/YYYY',
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',
37 l : 'DD/M/YYYY',
38 ll : 'D MMM YYYY',
39 lll : 'D MMM YYYY HH:mm',
40 llll : 'ddd, D MMM YYYY HH:mm'
41 },
42 calendar : {
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',
48 sameElse: 'L'
49 },
50 relativeTime : {
51 future : '%s tới',
52 past : '%s trước',
53 s : 'vài giây',
54 ss : '%d giây' ,
55 m : 'một phút',
56 mm : '%d phút',
57 h : 'một giờ',
58 hh : '%d giờ',
59 d : 'một ngày',
60 dd : '%d ngày',
61 M : 'một tháng',
62 MM : '%d tháng',
63 y : 'một năm',
64 yy : '%d năm'
65 },
66 dayOfMonthOrdinalParse: /\d{1,2}/,
67 ordinal : function (number) {
68 return number;
69 },
70 week : {
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.
73 }
74 });
75
76 return vi;
77
78 })));