summaryrefslogtreecommitdiff
path: root/www/lib/moment/locale/vi.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-05-04 04:32:51 -0400
committerARC <arjunrc@gmail.com>2015-05-04 04:32:51 -0400
commitbfe426a83bfcd32bac22bc06cccb15f15a9f9450 (patch)
tree996b8848922770b8127ad1abfa7f99dac566d895 /www/lib/moment/locale/vi.js
parenta838bdff9750af4ed6be0bad981ceb65341609f1 (diff)
Events Graphs now supports time based filters (using the excellent moment library)
Diffstat (limited to 'www/lib/moment/locale/vi.js')
-rw-r--r--www/lib/moment/locale/vi.js65
1 files changed, 65 insertions, 0 deletions
diff --git a/www/lib/moment/locale/vi.js b/www/lib/moment/locale/vi.js
new file mode 100644
index 00000000..d88e8e7f
--- /dev/null
+++ b/www/lib/moment/locale/vi.js
@@ -0,0 +1,65 @@
+//! moment.js locale configuration
+//! locale : vietnamese (vi)
+//! author : Bang Nguyen : https://github.com/bangnk
+
+(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
+ factory(global.moment)
+}(this, function (moment) { 'use strict';
+
+
+ var vi = 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('_'),
+ 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('_'),
+ longDateFormat : {
+ LT : 'HH:mm',
+ LTS : 'LT:ss',
+ L : 'DD/MM/YYYY',
+ LL : 'D MMMM [năm] YYYY',
+ LLL : 'D MMMM [năm] YYYY LT',
+ LLLL : 'dddd, D MMMM [năm] YYYY LT',
+ l : 'DD/M/YYYY',
+ ll : 'D MMM YYYY',
+ lll : 'D MMM YYYY LT',
+ llll : 'ddd, D MMM YYYY LT'
+ },
+ 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'
+ },
+ ordinalParse: /\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.
+ }
+ });
+
+ return vi;
+
+}));