logster 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logster/version.rb +1 -1
- data/logster.gemspec +1 -1
- metadata +1 -216
- data/bower_components/ember/.bower.json +0 -22
- data/bower_components/ember/.gitignore +0 -5
- data/bower_components/ember/Makefile +0 -9
- data/bower_components/ember/README.md +0 -12
- data/bower_components/ember/bower.json +0 -11
- data/bower_components/ember/component.json +0 -13
- data/bower_components/ember/composer.json +0 -27
- data/bower_components/ember/ember-template-compiler.js +0 -320
- data/bower_components/ember/ember.js +0 -44267
- data/bower_components/ember/ember.min.js +0 -19
- data/bower_components/ember/ember.prod.js +0 -42649
- data/bower_components/ember/package.json +0 -11
- data/bower_components/handlebars/.bower.json +0 -16
- data/bower_components/handlebars/.gitignore +0 -2
- data/bower_components/handlebars/README.md +0 -11
- data/bower_components/handlebars/bower.json +0 -6
- data/bower_components/handlebars/component.json +0 -9
- data/bower_components/handlebars/composer.json +0 -35
- data/bower_components/handlebars/handlebars-source.gemspec +0 -21
- data/bower_components/handlebars/handlebars.amd.js +0 -2719
- data/bower_components/handlebars/handlebars.amd.min.js +0 -28
- data/bower_components/handlebars/handlebars.js +0 -2746
- data/bower_components/handlebars/handlebars.js.nuspec +0 -17
- data/bower_components/handlebars/handlebars.min.js +0 -28
- data/bower_components/handlebars/handlebars.runtime.amd.js +0 -515
- data/bower_components/handlebars/handlebars.runtime.amd.min.js +0 -27
- data/bower_components/handlebars/handlebars.runtime.js +0 -530
- data/bower_components/handlebars/handlebars.runtime.min.js +0 -27
- data/bower_components/handlebars/lib/handlebars/source.rb +0 -11
- data/bower_components/jquery/.bower.json +0 -37
- data/bower_components/jquery/MIT-LICENSE.txt +0 -21
- data/bower_components/jquery/bower.json +0 -27
- data/bower_components/jquery/dist/jquery.js +0 -9111
- data/bower_components/jquery/dist/jquery.min.js +0 -5
- data/bower_components/jquery/dist/jquery.min.map +0 -1
- data/bower_components/jquery/src/ajax.js +0 -806
- data/bower_components/jquery/src/ajax/jsonp.js +0 -89
- data/bower_components/jquery/src/ajax/load.js +0 -75
- data/bower_components/jquery/src/ajax/parseJSON.js +0 -13
- data/bower_components/jquery/src/ajax/parseXML.js +0 -28
- data/bower_components/jquery/src/ajax/script.js +0 -64
- data/bower_components/jquery/src/ajax/var/nonce.js +0 -5
- data/bower_components/jquery/src/ajax/var/rquery.js +0 -3
- data/bower_components/jquery/src/ajax/xhr.js +0 -130
- data/bower_components/jquery/src/attributes.js +0 -11
- data/bower_components/jquery/src/attributes/attr.js +0 -143
- data/bower_components/jquery/src/attributes/classes.js +0 -158
- data/bower_components/jquery/src/attributes/prop.js +0 -96
- data/bower_components/jquery/src/attributes/support.js +0 -35
- data/bower_components/jquery/src/attributes/val.js +0 -153
- data/bower_components/jquery/src/callbacks.js +0 -205
- data/bower_components/jquery/src/core.js +0 -500
- data/bower_components/jquery/src/core/access.js +0 -60
- data/bower_components/jquery/src/core/init.js +0 -123
- data/bower_components/jquery/src/core/parseHTML.js +0 -39
- data/bower_components/jquery/src/core/ready.js +0 -96
- data/bower_components/jquery/src/core/var/rsingleTag.js +0 -4
- data/bower_components/jquery/src/css.js +0 -455
- data/bower_components/jquery/src/css/addGetHookIf.js +0 -24
- data/bower_components/jquery/src/css/curCSS.js +0 -57
- data/bower_components/jquery/src/css/defaultDisplay.js +0 -69
- data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/bower_components/jquery/src/css/support.js +0 -83
- data/bower_components/jquery/src/css/swap.js +0 -28
- data/bower_components/jquery/src/css/var/cssExpand.js +0 -3
- data/bower_components/jquery/src/css/var/getStyles.js +0 -5
- data/bower_components/jquery/src/css/var/isHidden.js +0 -13
- data/bower_components/jquery/src/css/var/rmargin.js +0 -3
- data/bower_components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/bower_components/jquery/src/data.js +0 -175
- data/bower_components/jquery/src/data/Data.js +0 -181
- data/bower_components/jquery/src/data/accepts.js +0 -20
- data/bower_components/jquery/src/data/var/data_priv.js +0 -5
- data/bower_components/jquery/src/data/var/data_user.js +0 -5
- data/bower_components/jquery/src/deferred.js +0 -149
- data/bower_components/jquery/src/deprecated.js +0 -13
- data/bower_components/jquery/src/dimensions.js +0 -50
- data/bower_components/jquery/src/effects.js +0 -642
- data/bower_components/jquery/src/effects/Tween.js +0 -114
- data/bower_components/jquery/src/effects/animatedSelector.js +0 -13
- data/bower_components/jquery/src/event.js +0 -859
- data/bower_components/jquery/src/event/alias.js +0 -39
- data/bower_components/jquery/src/event/support.js +0 -9
- data/bower_components/jquery/src/exports/amd.js +0 -18
- data/bower_components/jquery/src/exports/global.js +0 -32
- data/bower_components/jquery/src/intro.js +0 -44
- data/bower_components/jquery/src/jquery.js +0 -36
- data/bower_components/jquery/src/manipulation.js +0 -583
- data/bower_components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/bower_components/jquery/src/manipulation/support.js +0 -24
- data/bower_components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/bower_components/jquery/src/offset.js +0 -204
- data/bower_components/jquery/src/outro.js +0 -1
- data/bower_components/jquery/src/queue.js +0 -142
- data/bower_components/jquery/src/queue/delay.js +0 -22
- data/bower_components/jquery/src/selector-native.js +0 -171
- data/bower_components/jquery/src/selector-sizzle.js +0 -14
- data/bower_components/jquery/src/selector.js +0 -1
- data/bower_components/jquery/src/serialize.js +0 -111
- data/bower_components/jquery/src/sizzle/dist/sizzle.js +0 -2015
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/bower_components/jquery/src/traversing.js +0 -200
- data/bower_components/jquery/src/traversing/findFilter.js +0 -100
- data/bower_components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/bower_components/jquery/src/var/arr.js +0 -3
- data/bower_components/jquery/src/var/class2type.js +0 -4
- data/bower_components/jquery/src/var/concat.js +0 -5
- data/bower_components/jquery/src/var/hasOwn.js +0 -5
- data/bower_components/jquery/src/var/indexOf.js +0 -5
- data/bower_components/jquery/src/var/pnum.js +0 -3
- data/bower_components/jquery/src/var/push.js +0 -5
- data/bower_components/jquery/src/var/rnotwhite.js +0 -3
- data/bower_components/jquery/src/var/slice.js +0 -5
- data/bower_components/jquery/src/var/strundefined.js +0 -3
- data/bower_components/jquery/src/var/support.js +0 -4
- data/bower_components/jquery/src/var/toString.js +0 -5
- data/bower_components/jquery/src/var/trim.js +0 -3
- data/bower_components/jquery/src/wrap.js +0 -78
- data/bower_components/lodash/.bower.json +0 -34
- data/bower_components/lodash/LICENSE.txt +0 -22
- data/bower_components/lodash/bower.json +0 -23
- data/bower_components/lodash/dist/lodash.compat.js +0 -7157
- data/bower_components/lodash/dist/lodash.compat.min.js +0 -61
- data/bower_components/lodash/dist/lodash.js +0 -6785
- data/bower_components/lodash/dist/lodash.min.js +0 -56
- data/bower_components/lodash/dist/lodash.underscore.js +0 -4979
- data/bower_components/lodash/dist/lodash.underscore.min.js +0 -39
- data/bower_components/moment/.bower.json +0 -31
- data/bower_components/moment/LICENSE +0 -22
- data/bower_components/moment/bower.json +0 -20
- data/bower_components/moment/lang/ar-ma.js +0 -56
- data/bower_components/moment/lang/ar.js +0 -56
- data/bower_components/moment/lang/bg.js +0 -86
- data/bower_components/moment/lang/br.js +0 -107
- data/bower_components/moment/lang/bs.js +0 -139
- data/bower_components/moment/lang/ca.js +0 -66
- data/bower_components/moment/lang/cs.js +0 -155
- data/bower_components/moment/lang/cv.js +0 -59
- data/bower_components/moment/lang/cy.js +0 -77
- data/bower_components/moment/lang/da.js +0 -56
- data/bower_components/moment/lang/de.js +0 -71
- data/bower_components/moment/lang/el.js +0 -79
- data/bower_components/moment/lang/en-au.js +0 -62
- data/bower_components/moment/lang/en-ca.js +0 -59
- data/bower_components/moment/lang/en-gb.js +0 -63
- data/bower_components/moment/lang/eo.js +0 -65
- data/bower_components/moment/lang/es.js +0 -75
- data/bower_components/moment/lang/et.js +0 -76
- data/bower_components/moment/lang/eu.js +0 -60
- data/bower_components/moment/lang/fa.js +0 -97
- data/bower_components/moment/lang/fi.js +0 -103
- data/bower_components/moment/lang/fo.js +0 -56
- data/bower_components/moment/lang/fr-ca.js +0 -54
- data/bower_components/moment/lang/fr.js +0 -58
- data/bower_components/moment/lang/gl.js +0 -71
- data/bower_components/moment/lang/he.js +0 -77
- data/bower_components/moment/lang/hi.js +0 -105
- data/bower_components/moment/lang/hr.js +0 -140
- data/bower_components/moment/lang/hu.js +0 -105
- data/bower_components/moment/lang/hy-am.js +0 -113
- data/bower_components/moment/lang/id.js +0 -67
- data/bower_components/moment/lang/is.js +0 -124
- data/bower_components/moment/lang/it.js +0 -59
- data/bower_components/moment/lang/ja.js +0 -58
- data/bower_components/moment/lang/ka.js +0 -108
- data/bower_components/moment/lang/km.js +0 -55
- data/bower_components/moment/lang/ko.js +0 -63
- data/bower_components/moment/lang/lb.js +0 -160
- data/bower_components/moment/lang/lt.js +0 -118
- data/bower_components/moment/lang/lv.js +0 -77
- data/bower_components/moment/lang/mk.js +0 -86
- data/bower_components/moment/lang/ml.js +0 -64
- data/bower_components/moment/lang/mr.js +0 -104
- data/bower_components/moment/lang/ms-my.js +0 -66
- data/bower_components/moment/lang/nb.js +0 -57
- data/bower_components/moment/lang/ne.js +0 -105
- data/bower_components/moment/lang/nl.js +0 -67
- data/bower_components/moment/lang/nn.js +0 -56
- data/bower_components/moment/lang/pl.js +0 -98
- data/bower_components/moment/lang/pt-br.js +0 -56
- data/bower_components/moment/lang/pt.js +0 -60
- data/bower_components/moment/lang/ro.js +0 -72
- data/bower_components/moment/lang/ru.js +0 -163
- data/bower_components/moment/lang/sk.js +0 -156
- data/bower_components/moment/lang/sl.js +0 -144
- data/bower_components/moment/lang/sq.js +0 -61
- data/bower_components/moment/lang/sr-cyr.js +0 -106
- data/bower_components/moment/lang/sr.js +0 -106
- data/bower_components/moment/lang/sv.js +0 -63
- data/bower_components/moment/lang/ta.js +0 -112
- data/bower_components/moment/lang/th.js +0 -58
- data/bower_components/moment/lang/tl-ph.js +0 -58
- data/bower_components/moment/lang/tr.js +0 -93
- data/bower_components/moment/lang/tzm-la.js +0 -55
- data/bower_components/moment/lang/tzm.js +0 -55
- data/bower_components/moment/lang/uk.js +0 -157
- data/bower_components/moment/lang/uz.js +0 -55
- data/bower_components/moment/lang/vi.js +0 -62
- data/bower_components/moment/lang/zh-cn.js +0 -108
- data/bower_components/moment/lang/zh-tw.js +0 -84
- data/bower_components/moment/min/langs.js +0 -5991
- data/bower_components/moment/min/langs.min.js +0 -3
- data/bower_components/moment/min/moment-with-langs.js +0 -7993
- data/bower_components/moment/min/moment-with-langs.min.js +0 -9
- data/bower_components/moment/min/moment.min.js +0 -6
- data/bower_components/moment/moment.js +0 -2489
- data/bower_components/moment/readme.md +0 -368
- data/website/Gemfile +0 -6
- data/website/config.ru +0 -2
- data/website/data/data.json +0 -1
- data/website/docker_container/logster.yml +0 -95
- data/website/sample.rb +0 -85
- data/website/scripts/persist_logs.rb +0 -13
@@ -1,77 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : Hebrew (he)
|
3
|
-
// author : Tomer Cohen : https://github.com/tomer
|
4
|
-
// author : Moshe Simantov : https://github.com/DevelopmentIL
|
5
|
-
// author : Tal Ater : https://github.com/TalAter
|
6
|
-
|
7
|
-
(function (factory) {
|
8
|
-
if (typeof define === 'function' && define.amd) {
|
9
|
-
define(['moment'], factory); // AMD
|
10
|
-
} else if (typeof exports === 'object') {
|
11
|
-
module.exports = factory(require('../moment')); // Node
|
12
|
-
} else {
|
13
|
-
factory(window.moment); // Browser global
|
14
|
-
}
|
15
|
-
}(function (moment) {
|
16
|
-
return moment.lang('he', {
|
17
|
-
months : "ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),
|
18
|
-
monthsShort : "ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),
|
19
|
-
weekdays : "ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),
|
20
|
-
weekdaysShort : "א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),
|
21
|
-
weekdaysMin : "א_ב_ג_ד_ה_ו_ש".split("_"),
|
22
|
-
longDateFormat : {
|
23
|
-
LT : "HH:mm",
|
24
|
-
L : "DD/MM/YYYY",
|
25
|
-
LL : "D [ב]MMMM YYYY",
|
26
|
-
LLL : "D [ב]MMMM YYYY LT",
|
27
|
-
LLLL : "dddd, D [ב]MMMM YYYY LT",
|
28
|
-
l : "D/M/YYYY",
|
29
|
-
ll : "D MMM YYYY",
|
30
|
-
lll : "D MMM YYYY LT",
|
31
|
-
llll : "ddd, D MMM YYYY LT"
|
32
|
-
},
|
33
|
-
calendar : {
|
34
|
-
sameDay : '[היום ב־]LT',
|
35
|
-
nextDay : '[מחר ב־]LT',
|
36
|
-
nextWeek : 'dddd [בשעה] LT',
|
37
|
-
lastDay : '[אתמול ב־]LT',
|
38
|
-
lastWeek : '[ביום] dddd [האחרון בשעה] LT',
|
39
|
-
sameElse : 'L'
|
40
|
-
},
|
41
|
-
relativeTime : {
|
42
|
-
future : "בעוד %s",
|
43
|
-
past : "לפני %s",
|
44
|
-
s : "מספר שניות",
|
45
|
-
m : "דקה",
|
46
|
-
mm : "%d דקות",
|
47
|
-
h : "שעה",
|
48
|
-
hh : function (number) {
|
49
|
-
if (number === 2) {
|
50
|
-
return "שעתיים";
|
51
|
-
}
|
52
|
-
return number + " שעות";
|
53
|
-
},
|
54
|
-
d : "יום",
|
55
|
-
dd : function (number) {
|
56
|
-
if (number === 2) {
|
57
|
-
return "יומיים";
|
58
|
-
}
|
59
|
-
return number + " ימים";
|
60
|
-
},
|
61
|
-
M : "חודש",
|
62
|
-
MM : function (number) {
|
63
|
-
if (number === 2) {
|
64
|
-
return "חודשיים";
|
65
|
-
}
|
66
|
-
return number + " חודשים";
|
67
|
-
},
|
68
|
-
y : "שנה",
|
69
|
-
yy : function (number) {
|
70
|
-
if (number === 2) {
|
71
|
-
return "שנתיים";
|
72
|
-
}
|
73
|
-
return number + " שנים";
|
74
|
-
}
|
75
|
-
}
|
76
|
-
});
|
77
|
-
}));
|
@@ -1,105 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : hindi (hi)
|
3
|
-
// author : Mayank Singhal : https://github.com/mayanksinghal
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
var symbolMap = {
|
15
|
-
'1': '१',
|
16
|
-
'2': '२',
|
17
|
-
'3': '३',
|
18
|
-
'4': '४',
|
19
|
-
'5': '५',
|
20
|
-
'6': '६',
|
21
|
-
'7': '७',
|
22
|
-
'8': '८',
|
23
|
-
'9': '९',
|
24
|
-
'0': '०'
|
25
|
-
},
|
26
|
-
numberMap = {
|
27
|
-
'१': '1',
|
28
|
-
'२': '2',
|
29
|
-
'३': '3',
|
30
|
-
'४': '4',
|
31
|
-
'५': '5',
|
32
|
-
'६': '6',
|
33
|
-
'७': '7',
|
34
|
-
'८': '8',
|
35
|
-
'९': '9',
|
36
|
-
'०': '0'
|
37
|
-
};
|
38
|
-
|
39
|
-
return moment.lang('hi', {
|
40
|
-
months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split("_"),
|
41
|
-
monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split("_"),
|
42
|
-
weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split("_"),
|
43
|
-
weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split("_"),
|
44
|
-
weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split("_"),
|
45
|
-
longDateFormat : {
|
46
|
-
LT : "A h:mm बजे",
|
47
|
-
L : "DD/MM/YYYY",
|
48
|
-
LL : "D MMMM YYYY",
|
49
|
-
LLL : "D MMMM YYYY, LT",
|
50
|
-
LLLL : "dddd, D MMMM YYYY, LT"
|
51
|
-
},
|
52
|
-
calendar : {
|
53
|
-
sameDay : '[आज] LT',
|
54
|
-
nextDay : '[कल] LT',
|
55
|
-
nextWeek : 'dddd, LT',
|
56
|
-
lastDay : '[कल] LT',
|
57
|
-
lastWeek : '[पिछले] dddd, LT',
|
58
|
-
sameElse : 'L'
|
59
|
-
},
|
60
|
-
relativeTime : {
|
61
|
-
future : "%s में",
|
62
|
-
past : "%s पहले",
|
63
|
-
s : "कुछ ही क्षण",
|
64
|
-
m : "एक मिनट",
|
65
|
-
mm : "%d मिनट",
|
66
|
-
h : "एक घंटा",
|
67
|
-
hh : "%d घंटे",
|
68
|
-
d : "एक दिन",
|
69
|
-
dd : "%d दिन",
|
70
|
-
M : "एक महीने",
|
71
|
-
MM : "%d महीने",
|
72
|
-
y : "एक वर्ष",
|
73
|
-
yy : "%d वर्ष"
|
74
|
-
},
|
75
|
-
preparse: function (string) {
|
76
|
-
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
77
|
-
return numberMap[match];
|
78
|
-
});
|
79
|
-
},
|
80
|
-
postformat: function (string) {
|
81
|
-
return string.replace(/\d/g, function (match) {
|
82
|
-
return symbolMap[match];
|
83
|
-
});
|
84
|
-
},
|
85
|
-
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
|
86
|
-
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
|
87
|
-
meridiem : function (hour, minute, isLower) {
|
88
|
-
if (hour < 4) {
|
89
|
-
return "रात";
|
90
|
-
} else if (hour < 10) {
|
91
|
-
return "सुबह";
|
92
|
-
} else if (hour < 17) {
|
93
|
-
return "दोपहर";
|
94
|
-
} else if (hour < 20) {
|
95
|
-
return "शाम";
|
96
|
-
} else {
|
97
|
-
return "रात";
|
98
|
-
}
|
99
|
-
},
|
100
|
-
week : {
|
101
|
-
dow : 0, // Sunday is the first day of the week.
|
102
|
-
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
103
|
-
}
|
104
|
-
});
|
105
|
-
}));
|
@@ -1,140 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : hrvatski (hr)
|
3
|
-
// author : Bojan Marković : https://github.com/bmarkovic
|
4
|
-
|
5
|
-
// based on (sl) translation by Robert Sedovšek
|
6
|
-
|
7
|
-
(function (factory) {
|
8
|
-
if (typeof define === 'function' && define.amd) {
|
9
|
-
define(['moment'], factory); // AMD
|
10
|
-
} else if (typeof exports === 'object') {
|
11
|
-
module.exports = factory(require('../moment')); // Node
|
12
|
-
} else {
|
13
|
-
factory(window.moment); // Browser global
|
14
|
-
}
|
15
|
-
}(function (moment) {
|
16
|
-
|
17
|
-
function translate(number, withoutSuffix, key) {
|
18
|
-
var result = number + " ";
|
19
|
-
switch (key) {
|
20
|
-
case 'm':
|
21
|
-
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
22
|
-
case 'mm':
|
23
|
-
if (number === 1) {
|
24
|
-
result += 'minuta';
|
25
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
26
|
-
result += 'minute';
|
27
|
-
} else {
|
28
|
-
result += 'minuta';
|
29
|
-
}
|
30
|
-
return result;
|
31
|
-
case 'h':
|
32
|
-
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
33
|
-
case 'hh':
|
34
|
-
if (number === 1) {
|
35
|
-
result += 'sat';
|
36
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
37
|
-
result += 'sata';
|
38
|
-
} else {
|
39
|
-
result += 'sati';
|
40
|
-
}
|
41
|
-
return result;
|
42
|
-
case 'dd':
|
43
|
-
if (number === 1) {
|
44
|
-
result += 'dan';
|
45
|
-
} else {
|
46
|
-
result += 'dana';
|
47
|
-
}
|
48
|
-
return result;
|
49
|
-
case 'MM':
|
50
|
-
if (number === 1) {
|
51
|
-
result += 'mjesec';
|
52
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
53
|
-
result += 'mjeseca';
|
54
|
-
} else {
|
55
|
-
result += 'mjeseci';
|
56
|
-
}
|
57
|
-
return result;
|
58
|
-
case 'yy':
|
59
|
-
if (number === 1) {
|
60
|
-
result += 'godina';
|
61
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
62
|
-
result += 'godine';
|
63
|
-
} else {
|
64
|
-
result += 'godina';
|
65
|
-
}
|
66
|
-
return result;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
return moment.lang('hr', {
|
71
|
-
months : "sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),
|
72
|
-
monthsShort : "sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),
|
73
|
-
weekdays : "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
|
74
|
-
weekdaysShort : "ned._pon._uto._sri._čet._pet._sub.".split("_"),
|
75
|
-
weekdaysMin : "ne_po_ut_sr_če_pe_su".split("_"),
|
76
|
-
longDateFormat : {
|
77
|
-
LT : "H:mm",
|
78
|
-
L : "DD. MM. YYYY",
|
79
|
-
LL : "D. MMMM YYYY",
|
80
|
-
LLL : "D. MMMM YYYY LT",
|
81
|
-
LLLL : "dddd, D. MMMM YYYY LT"
|
82
|
-
},
|
83
|
-
calendar : {
|
84
|
-
sameDay : '[danas u] LT',
|
85
|
-
nextDay : '[sutra u] LT',
|
86
|
-
|
87
|
-
nextWeek : function () {
|
88
|
-
switch (this.day()) {
|
89
|
-
case 0:
|
90
|
-
return '[u] [nedjelju] [u] LT';
|
91
|
-
case 3:
|
92
|
-
return '[u] [srijedu] [u] LT';
|
93
|
-
case 6:
|
94
|
-
return '[u] [subotu] [u] LT';
|
95
|
-
case 1:
|
96
|
-
case 2:
|
97
|
-
case 4:
|
98
|
-
case 5:
|
99
|
-
return '[u] dddd [u] LT';
|
100
|
-
}
|
101
|
-
},
|
102
|
-
lastDay : '[jučer u] LT',
|
103
|
-
lastWeek : function () {
|
104
|
-
switch (this.day()) {
|
105
|
-
case 0:
|
106
|
-
case 3:
|
107
|
-
return '[prošlu] dddd [u] LT';
|
108
|
-
case 6:
|
109
|
-
return '[prošle] [subote] [u] LT';
|
110
|
-
case 1:
|
111
|
-
case 2:
|
112
|
-
case 4:
|
113
|
-
case 5:
|
114
|
-
return '[prošli] dddd [u] LT';
|
115
|
-
}
|
116
|
-
},
|
117
|
-
sameElse : 'L'
|
118
|
-
},
|
119
|
-
relativeTime : {
|
120
|
-
future : "za %s",
|
121
|
-
past : "prije %s",
|
122
|
-
s : "par sekundi",
|
123
|
-
m : translate,
|
124
|
-
mm : translate,
|
125
|
-
h : translate,
|
126
|
-
hh : translate,
|
127
|
-
d : "dan",
|
128
|
-
dd : translate,
|
129
|
-
M : "mjesec",
|
130
|
-
MM : translate,
|
131
|
-
y : "godinu",
|
132
|
-
yy : translate
|
133
|
-
},
|
134
|
-
ordinal : '%d.',
|
135
|
-
week : {
|
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.
|
138
|
-
}
|
139
|
-
});
|
140
|
-
}));
|
@@ -1,105 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : hungarian (hu)
|
3
|
-
// author : Adam Brunner : https://github.com/adambrunner
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
|
15
|
-
|
16
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
17
|
-
var num = number,
|
18
|
-
suffix;
|
19
|
-
|
20
|
-
switch (key) {
|
21
|
-
case 's':
|
22
|
-
return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
|
23
|
-
case 'm':
|
24
|
-
return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
25
|
-
case 'mm':
|
26
|
-
return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
27
|
-
case 'h':
|
28
|
-
return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
29
|
-
case 'hh':
|
30
|
-
return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
31
|
-
case 'd':
|
32
|
-
return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
33
|
-
case 'dd':
|
34
|
-
return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
35
|
-
case 'M':
|
36
|
-
return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
37
|
-
case 'MM':
|
38
|
-
return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
39
|
-
case 'y':
|
40
|
-
return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
|
41
|
-
case 'yy':
|
42
|
-
return num + (isFuture || withoutSuffix ? ' év' : ' éve');
|
43
|
-
}
|
44
|
-
|
45
|
-
return '';
|
46
|
-
}
|
47
|
-
|
48
|
-
function week(isFuture) {
|
49
|
-
return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
|
50
|
-
}
|
51
|
-
|
52
|
-
return moment.lang('hu', {
|
53
|
-
months : "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
|
54
|
-
monthsShort : "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),
|
55
|
-
weekdays : "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
|
56
|
-
weekdaysShort : "vas_hét_kedd_sze_csüt_pén_szo".split("_"),
|
57
|
-
weekdaysMin : "v_h_k_sze_cs_p_szo".split("_"),
|
58
|
-
longDateFormat : {
|
59
|
-
LT : "H:mm",
|
60
|
-
L : "YYYY.MM.DD.",
|
61
|
-
LL : "YYYY. MMMM D.",
|
62
|
-
LLL : "YYYY. MMMM D., LT",
|
63
|
-
LLLL : "YYYY. MMMM D., dddd LT"
|
64
|
-
},
|
65
|
-
meridiem : function (hours, minutes, isLower) {
|
66
|
-
if (hours < 12) {
|
67
|
-
return isLower === true ? 'de' : 'DE';
|
68
|
-
} else {
|
69
|
-
return isLower === true ? 'du' : 'DU';
|
70
|
-
}
|
71
|
-
},
|
72
|
-
calendar : {
|
73
|
-
sameDay : '[ma] LT[-kor]',
|
74
|
-
nextDay : '[holnap] LT[-kor]',
|
75
|
-
nextWeek : function () {
|
76
|
-
return week.call(this, true);
|
77
|
-
},
|
78
|
-
lastDay : '[tegnap] LT[-kor]',
|
79
|
-
lastWeek : function () {
|
80
|
-
return week.call(this, false);
|
81
|
-
},
|
82
|
-
sameElse : 'L'
|
83
|
-
},
|
84
|
-
relativeTime : {
|
85
|
-
future : "%s múlva",
|
86
|
-
past : "%s",
|
87
|
-
s : translate,
|
88
|
-
m : translate,
|
89
|
-
mm : translate,
|
90
|
-
h : translate,
|
91
|
-
hh : translate,
|
92
|
-
d : translate,
|
93
|
-
dd : translate,
|
94
|
-
M : translate,
|
95
|
-
MM : translate,
|
96
|
-
y : translate,
|
97
|
-
yy : translate
|
98
|
-
},
|
99
|
-
ordinal : '%d.',
|
100
|
-
week : {
|
101
|
-
dow : 1, // Monday is the first day of the week.
|
102
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
103
|
-
}
|
104
|
-
});
|
105
|
-
}));
|
@@ -1,113 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : Armenian (hy-am)
|
3
|
-
// author : Armendarabyan : https://github.com/armendarabyan
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
|
15
|
-
function monthsCaseReplace(m, format) {
|
16
|
-
var months = {
|
17
|
-
'nominative': 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_'),
|
18
|
-
'accusative': 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_')
|
19
|
-
},
|
20
|
-
|
21
|
-
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
|
22
|
-
'accusative' :
|
23
|
-
'nominative';
|
24
|
-
|
25
|
-
return months[nounCase][m.month()];
|
26
|
-
}
|
27
|
-
|
28
|
-
function monthsShortCaseReplace(m, format) {
|
29
|
-
var monthsShort = 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_');
|
30
|
-
|
31
|
-
return monthsShort[m.month()];
|
32
|
-
}
|
33
|
-
|
34
|
-
function weekdaysCaseReplace(m, format) {
|
35
|
-
var weekdays = 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_');
|
36
|
-
|
37
|
-
return weekdays[m.day()];
|
38
|
-
}
|
39
|
-
|
40
|
-
return moment.lang('hy-am', {
|
41
|
-
months : monthsCaseReplace,
|
42
|
-
monthsShort : monthsShortCaseReplace,
|
43
|
-
weekdays : weekdaysCaseReplace,
|
44
|
-
weekdaysShort : "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
|
45
|
-
weekdaysMin : "կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),
|
46
|
-
longDateFormat : {
|
47
|
-
LT : "HH:mm",
|
48
|
-
L : "DD.MM.YYYY",
|
49
|
-
LL : "D MMMM YYYY թ.",
|
50
|
-
LLL : "D MMMM YYYY թ., LT",
|
51
|
-
LLLL : "dddd, D MMMM YYYY թ., LT"
|
52
|
-
},
|
53
|
-
calendar : {
|
54
|
-
sameDay: '[այսօր] LT',
|
55
|
-
nextDay: '[վաղը] LT',
|
56
|
-
lastDay: '[երեկ] LT',
|
57
|
-
nextWeek: function () {
|
58
|
-
return 'dddd [օրը ժամը] LT';
|
59
|
-
},
|
60
|
-
lastWeek: function () {
|
61
|
-
return '[անցած] dddd [օրը ժամը] LT';
|
62
|
-
},
|
63
|
-
sameElse: 'L'
|
64
|
-
},
|
65
|
-
relativeTime : {
|
66
|
-
future : "%s հետո",
|
67
|
-
past : "%s առաջ",
|
68
|
-
s : "մի քանի վայրկյան",
|
69
|
-
m : "րոպե",
|
70
|
-
mm : "%d րոպե",
|
71
|
-
h : "ժամ",
|
72
|
-
hh : "%d ժամ",
|
73
|
-
d : "օր",
|
74
|
-
dd : "%d օր",
|
75
|
-
M : "ամիս",
|
76
|
-
MM : "%d ամիս",
|
77
|
-
y : "տարի",
|
78
|
-
yy : "%d տարի"
|
79
|
-
},
|
80
|
-
|
81
|
-
meridiem : function (hour) {
|
82
|
-
if (hour < 4) {
|
83
|
-
return "գիշերվա";
|
84
|
-
} else if (hour < 12) {
|
85
|
-
return "առավոտվա";
|
86
|
-
} else if (hour < 17) {
|
87
|
-
return "ցերեկվա";
|
88
|
-
} else {
|
89
|
-
return "երեկոյան";
|
90
|
-
}
|
91
|
-
},
|
92
|
-
|
93
|
-
ordinal: function (number, period) {
|
94
|
-
switch (period) {
|
95
|
-
case 'DDD':
|
96
|
-
case 'w':
|
97
|
-
case 'W':
|
98
|
-
case 'DDDo':
|
99
|
-
if (number === 1) {
|
100
|
-
return number + '-ին';
|
101
|
-
}
|
102
|
-
return number + '-րդ';
|
103
|
-
default:
|
104
|
-
return number;
|
105
|
-
}
|
106
|
-
},
|
107
|
-
|
108
|
-
week : {
|
109
|
-
dow : 1, // Monday is the first day of the week.
|
110
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
111
|
-
}
|
112
|
-
});
|
113
|
-
}));
|