X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Flib%2Fmoment%2Flocale%2Fhe.js;h=05b0209909684d62b93e5a8a27093a132fdd9c16;hp=06f954f453218ffd53ff102f01a22fc93bbc60c3;hb=7874fc4bec845ad92960b07e969c65f3c3fe74f2;hpb=0ffba1f4a3f27ae7bab373909f32603250f1bf10 diff --git a/resources/lib/moment/locale/he.js b/resources/lib/moment/locale/he.js index 06f954f453..05b0209909 100644 --- a/resources/lib/moment/locale/he.js +++ b/resources/lib/moment/locale/he.js @@ -5,13 +5,15 @@ // author : Tal Ater : https://github.com/TalAter (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('he', { months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), @@ -21,6 +23,7 @@ weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'), longDateFormat : { LT : 'HH:mm', + LTS : 'LT:ss', L : 'DD/MM/YYYY', LL : 'D [ב]MMMM YYYY', LLL : 'D [ב]MMMM YYYY LT',