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';
15
var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
18
monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
20
return n > 1 && n < 5;
22
function translate(number, withoutSuffix, key, isFuture) {
23
var result = number + ' ';
26
return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
28
if (withoutSuffix || isFuture) {
29
return result + (plural(number) ? 'sekundy' : 'sekúnd');
31
return result + 'sekundami';
34
return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
36
if (withoutSuffix || isFuture) {
37
return result + (plural(number) ? 'minúty' : 'minút');
39
return result + 'minútami';
42
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
44
if (withoutSuffix || isFuture) {
45
return result + (plural(number) ? 'hodiny' : 'hodín');
47
return result + 'hodinami';
50
return withoutSuffix || isFuture ? 'deň' : 'dňom';
52
if (withoutSuffix || isFuture) {
53
return result + (plural(number) ? 'dni' : 'dní');
55
return result + 'dňami';
58
return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
60
if (withoutSuffix || isFuture) {
61
return result + (plural(number) ? 'mesiace' : 'mesiacov');
63
return result + 'mesiacmi';
66
return withoutSuffix || isFuture ? 'rok' : 'rokom';
68
if (withoutSuffix || isFuture) {
69
return result + (plural(number) ? 'roky' : 'rokov');
71
return result + 'rokmi';
76
var sk = moment.defineLocale('sk', {
78
monthsShort: monthsShort,
79
weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
80
weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
81
weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
87
LLL: 'D. MMMM YYYY H:mm',
88
LLLL: 'dddd D. MMMM YYYY H:mm',
91
sameDay: '[dnes o] LT',
92
nextDay: '[zajtra o] LT',
93
nextWeek: function () {
96
return '[v nedeľu o] LT';
99
return '[v] dddd [o] LT';
101
return '[v stredu o] LT';
103
return '[vo štvrtok o] LT';
105
return '[v piatok o] LT';
107
return '[v sobotu o] LT';
110
lastDay: '[včera o] LT',
111
lastWeek: function () {
112
switch (this.day()) {
114
return '[minulú nedeľu o] LT';
117
return '[minulý] dddd [o] LT';
119
return '[minulú stredu o] LT';
122
return '[minulý] dddd [o] LT';
124
return '[minulú sobotu o] LT';
145
dayOfMonthOrdinalParse: /\d{1,2}\./,