5
;(function (global, factory) {
6
typeof exports === 'object' && typeof module !== 'undefined'
7
&& typeof require === 'function' ? factory(require('../moment')) :
8
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10
}(this, (function (moment) { 'use strict';
17
ss: ['sekund', 'sekunda', 'sekundi'],
18
m: ['jedan minut', 'jednog minuta'],
19
mm: ['minut', 'minuta', 'minuta'],
20
h: ['jedan sat', 'jednog sata'],
21
hh: ['sat', 'sata', 'sati'],
22
dd: ['dan', 'dana', 'dana'],
23
MM: ['mjesec', 'mjeseca', 'mjeseci'],
24
yy: ['godina', 'godine', 'godina'],
26
correctGrammaticalCase: function (number, wordKey) {
29
: number >= 2 && number <= 4
33
translate: function (number, withoutSuffix, key) {
34
var wordKey = translator.words[key];
35
if (key.length === 1) {
36
return withoutSuffix ? wordKey[0] : wordKey[1];
41
translator.correctGrammaticalCase(number, wordKey)
47
var me = moment.defineLocale('me', {
48
months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
51
monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
54
monthsParseExact: true,
55
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
58
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
59
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
60
weekdaysParseExact: true,
66
LLL: 'D. MMMM YYYY H:mm',
67
LLLL: 'dddd, D. MMMM YYYY H:mm',
70
sameDay: '[danas u] LT',
71
nextDay: '[sjutra u] LT',
73
nextWeek: function () {
76
return '[u] [nedjelju] [u] LT';
78
return '[u] [srijedu] [u] LT';
80
return '[u] [subotu] [u] LT';
85
return '[u] dddd [u] LT';
88
lastDay: '[juče u] LT',
89
lastWeek: function () {
91
'[prošle] [nedjelje] [u] LT',
92
'[prošlog] [ponedjeljka] [u] LT',
93
'[prošlog] [utorka] [u] LT',
94
'[prošle] [srijede] [u] LT',
95
'[prošlog] [četvrtka] [u] LT',
96
'[prošlog] [petka] [u] LT',
97
'[prošle] [subote] [u] LT',
99
return lastWeekDays[this.day()];
106
s: 'nekoliko sekundi',
107
ss: translator.translate,
108
m: translator.translate,
109
mm: translator.translate,
110
h: translator.translate,
111
hh: translator.translate,
113
dd: translator.translate,
115
MM: translator.translate,
117
yy: translator.translate,
119
dayOfMonthOrdinalParse: /\d{1,2}\./,