//! moment.js locale configuration
-//! locale : Serbian [sr]
-//! 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: ['sekunda', 'sekunde', 'sekundi'],
m: ['jedan minut', 'jedne minute'],
mm: ['minut', 'minute', 'minuta'],
h: ['jedan sat', 'jednog sata'],
future : 'za %s',
past : 'pre %s',
s : 'nekoliko sekundi',
+ ss : translator.translate,
m : translator.translate,
mm : translator.translate,
h : translator.translate,
y : 'godinu',
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;
-}));
\ No newline at end of file
+})));