summaryrefslogtreecommitdiff
path: root/resources/lib/moment/locale/ta.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/moment/locale/ta.js')
-rw-r--r--resources/lib/moment/locale/ta.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/ta.js b/resources/lib/moment/locale/ta.js
index 53bab0d9..d0356a3e 100644
--- a/resources/lib/moment/locale/ta.js
+++ b/resources/lib/moment/locale/ta.js
@@ -8,7 +8,7 @@
} else if (typeof exports === 'object') {
module.exports = factory(require('../moment')); // Node
} else {
- factory(window.moment); // Browser global
+ factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
}
}(function (moment) {
/*var symbolMap = {
@@ -44,6 +44,7 @@
weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
longDateFormat : {
LT : 'HH:mm',
+ LTS : 'LT:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY, LT',
@@ -82,6 +83,7 @@
return symbolMap[match];
});
},*/
+ ordinalParse: /\d{1,2}வது/,
ordinal : function (number) {
return number + 'வது';
},