1 //! moment.js locale configuration
2 //! locale : Bosnian [bs]
3 //! author : Nedim Cholich : https://github.com/frontyard
4 //! based on (hr) translation by Bojan Marković
6 ;(function (global
, factory
) {
7 typeof exports
=== 'object' && typeof module
!== 'undefined'
8 && typeof require
=== 'function' ? factory(require('../moment')) :
9 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
10 factory(global
.moment
)
11 }(this, function (moment
) { 'use strict';
14 function translate(number
, withoutSuffix
, key
) {
15 var result
= number
+ ' ';
18 return withoutSuffix
? 'jedna minuta' : 'jedne minute';
22 } else if (number
=== 2 || number
=== 3 || number
=== 4) {
29 return withoutSuffix
? 'jedan sat' : 'jednog sata';
33 } else if (number
=== 2 || number
=== 3 || number
=== 4) {
49 } else if (number
=== 2 || number
=== 3 || number
=== 4) {
58 } else if (number
=== 2 || number
=== 3 || number
=== 4) {
67 var bs
= moment
.defineLocale('bs', {
68 months
: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
69 monthsShort
: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
70 monthsParseExact
: true,
71 weekdays
: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
72 weekdaysShort
: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
73 weekdaysMin
: 'ne_po_ut_sr_če_pe_su'.split('_'),
74 weekdaysParseExact
: true,
80 LLL
: 'D. MMMM YYYY H:mm',
81 LLLL
: 'dddd, D. MMMM YYYY H:mm'
84 sameDay
: '[danas u] LT',
85 nextDay
: '[sutra u] LT',
86 nextWeek : function () {
89 return '[u] [nedjelju] [u] LT';
91 return '[u] [srijedu] [u] LT';
93 return '[u] [subotu] [u] LT';
98 return '[u] dddd [u] LT';
101 lastDay
: '[jučer u] LT',
102 lastWeek : function () {
103 switch (this.day()) {
106 return '[prošlu] dddd [u] LT';
108 return '[prošle] [subote] [u] LT';
113 return '[prošli] dddd [u] LT';
133 ordinalParse
: /\d{1,2}\./,
136 dow
: 1, // Monday is the first day of the week.
137 doy
: 7 // The week that contains Jan 1st is the first week of the year.