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';
13 //! moment.js locale configuration
15 function translate(number, withoutSuffix, key) {
16 var result = number + ' ';
21 } else if (number === 2 || number === 3 || number === 4) {
28 return withoutSuffix ? 'jedna minuta' : 'jedne minute';
32 } else if (number === 2 || number === 3 || number === 4) {
39 return withoutSuffix ? 'jedan sat' : 'jednog sata';
43 } else if (number === 2 || number === 3 || number === 4) {
59 } else if (number === 2 || number === 3 || number === 4) {
68 } else if (number === 2 || number === 3 || number === 4) {
77 var bs = moment.defineLocale('bs', {
78 months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
81 monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
84 monthsParseExact: true,
85 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
88 weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
89 weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
90 weekdaysParseExact: true,
96 LLL: 'D. MMMM YYYY H:mm',
97 LLLL: 'dddd, D. MMMM YYYY H:mm',
100 sameDay: '[danas u] LT',
101 nextDay: '[sutra u] LT',
102 nextWeek: function () {
103 switch (this.day()) {
105 return '[u] [nedjelju] [u] LT';
107 return '[u] [srijedu] [u] LT';
109 return '[u] [subotu] [u] LT';
114 return '[u] dddd [u] LT';
117 lastDay: '[jučer u] LT',
118 lastWeek: function () {
119 switch (this.day()) {
122 return '[prošlu] dddd [u] LT';
124 return '[prošle] [subote] [u] LT';
129 return '[prošli] dddd [u] LT';
150 dayOfMonthOrdinalParse: /\d{1,2}\./,
153 dow: 1, // Monday is the first day of the week.
154 doy: 7, // The week that contains Jan 7th is the first week of the year.