Upgrade moment from 2.19.3 to 2.24.0
[lhc/web/wiklou.git] / resources / lib / moment / locale / sr-cyrl.js
index bf0df12..e22a22f 100644 (file)
@@ -1,17 +1,16 @@
 //! 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';
+}(this, (function (moment) { 'use strict';
 
 
     var translator = {
         words: { //Different grammatical cases
+            ss: ['секунда', 'секунде', 'секунди'],
             m: ['један минут', 'једне минуте'],
             mm: ['минут', 'минуте', 'минута'],
             h: ['један сат', 'једног сата'],
@@ -33,7 +32,7 @@
         }
     };
 
-    var sr_cyrl = moment.defineLocale('sr-cyrl', {
+    var srCyrl = moment.defineLocale('sr-cyrl', {
         months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
         monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
         monthsParseExact: true,
@@ -86,6 +85,7 @@
             future : 'за %s',
             past   : 'пре %s',
             s      : 'неколико секунди',
+            ss     : translator.translate,
             m      : translator.translate,
             mm     : translator.translate,
             h      : translator.translate,
             y      : 'годину',
             yy     : translator.translate
         },
-        ordinalParse: /\d{1,2}\./,
+        dayOfMonthOrdinalParse: /\d{1,2}\./,
         ordinal : '%d.',
         week : {
             dow : 1, // Monday is the first day of the week.
-            doy : 7  // The week that contains Jan 1st is the first week of the year.
+            doy : 7  // The week that contains Jan 7th is the first week of the year.
         }
     });
 
-    return sr_cyrl;
+    return srCyrl;
 
-}));
\ No newline at end of file
+})));