diff options
Diffstat (limited to 'js/vendor/momentjs/locale/sr-cyrl.js')
-rw-r--r-- | js/vendor/momentjs/locale/sr-cyrl.js | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/js/vendor/momentjs/locale/sr-cyrl.js b/js/vendor/momentjs/locale/sr-cyrl.js index 57619b64b..c72cca770 100644 --- a/js/vendor/momentjs/locale/sr-cyrl.js +++ b/js/vendor/momentjs/locale/sr-cyrl.js @@ -1,16 +1,15 @@ -// moment.js locale configuration -// locale : Serbian-cyrillic (sr-cyrl) -// author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j +//! moment.js locale configuration +//! locale : Serbian-cyrillic (sr-cyrl) +//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j + +;(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'; + -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { var translator = { words: { //Different grammatical cases m: ['један минут', 'једне минуте'], @@ -34,7 +33,7 @@ } }; - return moment.defineLocale('sr-cyrl', { + var sr_cyrl = moment.defineLocale('sr-cyrl', { months: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'], monthsShort: ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'сеп.', 'окт.', 'нов.', 'дец.'], weekdays: ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], @@ -42,16 +41,15 @@ weekdaysMin: ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], longDateFormat: { LT: 'H:mm', - LTS : 'LT:ss', + LTS : 'H:mm:ss', L: 'DD. MM. YYYY', LL: 'D. MMMM YYYY', - LLL: 'D. MMMM YYYY LT', - LLLL: 'dddd, D. MMMM YYYY LT' + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' }, calendar: { sameDay: '[данас у] LT', nextDay: '[сутра у] LT', - nextWeek: function () { switch (this.day()) { case 0: @@ -104,4 +102,7 @@ doy : 7 // The week that contains Jan 1st is the first week of the year. } }); -})); + + return sr_cyrl; + +}));
\ No newline at end of file |