//! moment.js locale configuration
-//! locale : Vietnamese [vi]
-//! author : Bang Nguyen : https://github.com/bangnk
;(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';
+}(this, (function (moment) { 'use strict';
var vi = moment.defineLocale('vi', {
future : '%s tới',
past : '%s trước',
s : 'vài giây',
+ ss : '%d giây' ,
m : 'một phút',
mm : '%d phút',
h : 'một giờ',
y : 'một năm',
yy : '%d năm'
},
- ordinalParse: /\d{1,2}/,
+ dayOfMonthOrdinalParse: /\d{1,2}/,
ordinal : function (number) {
return number;
},
return vi;
-}));
\ No newline at end of file
+})));