X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Flib%2Fmoment%2Flocale%2Ftl-ph.js;h=910c681b4192cb09676792da1c6fb57177963820;hb=320e4c56132681f811c2819e3e22e98715f46ae7;hp=c15cc1f08169f59a4aec89d06ef3290cb0fcf207;hpb=7a7f79394e70402c567dad068a7701e021b395d3;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/moment/locale/tl-ph.js b/resources/lib/moment/locale/tl-ph.js index c15cc1f081..910c681b41 100644 --- a/resources/lib/moment/locale/tl-ph.js +++ b/resources/lib/moment/locale/tl-ph.js @@ -3,13 +3,15 @@ // author : Dan Hagman (function (factory) { - if (typeof define === 'function' && define.amd) { + // Comment out broken wrapper, see T145382 + /*if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD } 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 + }*/ + factory(this.moment); }(function (moment) { return moment.defineLocale('tl-ph', { months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), @@ -19,6 +21,7 @@ weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'LT:ss', L : 'MM/D/YYYY', LL : 'MMMM D, YYYY', LLL : 'MMMM D, YYYY LT', @@ -47,6 +50,7 @@ y : 'isang taon', yy : '%d taon' }, + ordinalParse: /\d{1,2}/, ordinal : function (number) { return number; },