logster 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/Guardfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +38 -0
- data/Rakefile +18 -0
- data/assets/javascript/app.js +377 -0
- data/assets/javascript/external/ember.js +44267 -0
- data/assets/javascript/external/ember.min.js +19 -0
- data/assets/javascript/external/handlebars.min.js +28 -0
- data/assets/javascript/external/jquery.min.js +5 -0
- data/assets/javascript/external/lodash.min.js +56 -0
- data/assets/javascript/external/moment.min.js +6 -0
- data/assets/javascript/templates/application.handlebars +1 -0
- data/assets/javascript/templates/index.handlebars +48 -0
- data/assets/javascript/templates/message.handlebars +7 -0
- data/assets/stylesheets/app.css +188 -0
- data/bower_components/ember/.bower.json +22 -0
- data/bower_components/ember/.gitignore +5 -0
- data/bower_components/ember/Makefile +9 -0
- data/bower_components/ember/README.md +12 -0
- data/bower_components/ember/bower.json +11 -0
- data/bower_components/ember/component.json +13 -0
- data/bower_components/ember/composer.json +27 -0
- data/bower_components/ember/ember-template-compiler.js +320 -0
- data/bower_components/ember/ember.js +44267 -0
- data/bower_components/ember/ember.min.js +19 -0
- data/bower_components/ember/ember.prod.js +42649 -0
- data/bower_components/ember/package.json +11 -0
- data/bower_components/handlebars/.bower.json +16 -0
- data/bower_components/handlebars/.gitignore +2 -0
- data/bower_components/handlebars/README.md +11 -0
- data/bower_components/handlebars/bower.json +6 -0
- data/bower_components/handlebars/component.json +9 -0
- data/bower_components/handlebars/composer.json +35 -0
- data/bower_components/handlebars/handlebars-source.gemspec +21 -0
- data/bower_components/handlebars/handlebars.amd.js +2719 -0
- data/bower_components/handlebars/handlebars.amd.min.js +28 -0
- data/bower_components/handlebars/handlebars.js +2746 -0
- data/bower_components/handlebars/handlebars.js.nuspec +17 -0
- data/bower_components/handlebars/handlebars.min.js +28 -0
- data/bower_components/handlebars/handlebars.runtime.amd.js +515 -0
- data/bower_components/handlebars/handlebars.runtime.amd.min.js +27 -0
- data/bower_components/handlebars/handlebars.runtime.js +530 -0
- data/bower_components/handlebars/handlebars.runtime.min.js +27 -0
- data/bower_components/handlebars/lib/handlebars/source.rb +11 -0
- data/bower_components/jquery/.bower.json +37 -0
- data/bower_components/jquery/MIT-LICENSE.txt +21 -0
- data/bower_components/jquery/bower.json +27 -0
- data/bower_components/jquery/dist/jquery.js +9111 -0
- data/bower_components/jquery/dist/jquery.min.js +5 -0
- data/bower_components/jquery/dist/jquery.min.map +1 -0
- data/bower_components/jquery/src/ajax.js +806 -0
- data/bower_components/jquery/src/ajax/jsonp.js +89 -0
- data/bower_components/jquery/src/ajax/load.js +75 -0
- data/bower_components/jquery/src/ajax/parseJSON.js +13 -0
- data/bower_components/jquery/src/ajax/parseXML.js +28 -0
- data/bower_components/jquery/src/ajax/script.js +64 -0
- data/bower_components/jquery/src/ajax/var/nonce.js +5 -0
- data/bower_components/jquery/src/ajax/var/rquery.js +3 -0
- data/bower_components/jquery/src/ajax/xhr.js +130 -0
- data/bower_components/jquery/src/attributes.js +11 -0
- data/bower_components/jquery/src/attributes/attr.js +143 -0
- data/bower_components/jquery/src/attributes/classes.js +158 -0
- data/bower_components/jquery/src/attributes/prop.js +96 -0
- data/bower_components/jquery/src/attributes/support.js +35 -0
- data/bower_components/jquery/src/attributes/val.js +153 -0
- data/bower_components/jquery/src/callbacks.js +205 -0
- data/bower_components/jquery/src/core.js +500 -0
- data/bower_components/jquery/src/core/access.js +60 -0
- data/bower_components/jquery/src/core/init.js +123 -0
- data/bower_components/jquery/src/core/parseHTML.js +39 -0
- data/bower_components/jquery/src/core/ready.js +96 -0
- data/bower_components/jquery/src/core/var/rsingleTag.js +4 -0
- data/bower_components/jquery/src/css.js +455 -0
- data/bower_components/jquery/src/css/addGetHookIf.js +24 -0
- data/bower_components/jquery/src/css/curCSS.js +57 -0
- data/bower_components/jquery/src/css/defaultDisplay.js +69 -0
- data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/bower_components/jquery/src/css/support.js +83 -0
- data/bower_components/jquery/src/css/swap.js +28 -0
- data/bower_components/jquery/src/css/var/cssExpand.js +3 -0
- data/bower_components/jquery/src/css/var/getStyles.js +5 -0
- data/bower_components/jquery/src/css/var/isHidden.js +13 -0
- data/bower_components/jquery/src/css/var/rmargin.js +3 -0
- data/bower_components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/bower_components/jquery/src/data.js +175 -0
- data/bower_components/jquery/src/data/Data.js +181 -0
- data/bower_components/jquery/src/data/accepts.js +20 -0
- data/bower_components/jquery/src/data/var/data_priv.js +5 -0
- data/bower_components/jquery/src/data/var/data_user.js +5 -0
- data/bower_components/jquery/src/deferred.js +149 -0
- data/bower_components/jquery/src/deprecated.js +13 -0
- data/bower_components/jquery/src/dimensions.js +50 -0
- data/bower_components/jquery/src/effects.js +642 -0
- data/bower_components/jquery/src/effects/Tween.js +114 -0
- data/bower_components/jquery/src/effects/animatedSelector.js +13 -0
- data/bower_components/jquery/src/event.js +859 -0
- data/bower_components/jquery/src/event/alias.js +39 -0
- data/bower_components/jquery/src/event/support.js +9 -0
- data/bower_components/jquery/src/exports/amd.js +18 -0
- data/bower_components/jquery/src/exports/global.js +32 -0
- data/bower_components/jquery/src/intro.js +44 -0
- data/bower_components/jquery/src/jquery.js +36 -0
- data/bower_components/jquery/src/manipulation.js +583 -0
- data/bower_components/jquery/src/manipulation/_evalUrl.js +18 -0
- data/bower_components/jquery/src/manipulation/support.js +24 -0
- data/bower_components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/bower_components/jquery/src/offset.js +204 -0
- data/bower_components/jquery/src/outro.js +1 -0
- data/bower_components/jquery/src/queue.js +142 -0
- data/bower_components/jquery/src/queue/delay.js +22 -0
- data/bower_components/jquery/src/selector-native.js +171 -0
- data/bower_components/jquery/src/selector-sizzle.js +14 -0
- data/bower_components/jquery/src/selector.js +1 -0
- data/bower_components/jquery/src/serialize.js +111 -0
- data/bower_components/jquery/src/sizzle/dist/sizzle.js +2015 -0
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/bower_components/jquery/src/traversing.js +200 -0
- data/bower_components/jquery/src/traversing/findFilter.js +100 -0
- data/bower_components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/bower_components/jquery/src/var/arr.js +3 -0
- data/bower_components/jquery/src/var/class2type.js +4 -0
- data/bower_components/jquery/src/var/concat.js +5 -0
- data/bower_components/jquery/src/var/hasOwn.js +5 -0
- data/bower_components/jquery/src/var/indexOf.js +5 -0
- data/bower_components/jquery/src/var/pnum.js +3 -0
- data/bower_components/jquery/src/var/push.js +5 -0
- data/bower_components/jquery/src/var/rnotwhite.js +3 -0
- data/bower_components/jquery/src/var/slice.js +5 -0
- data/bower_components/jquery/src/var/strundefined.js +3 -0
- data/bower_components/jquery/src/var/support.js +4 -0
- data/bower_components/jquery/src/var/toString.js +5 -0
- data/bower_components/jquery/src/var/trim.js +3 -0
- data/bower_components/jquery/src/wrap.js +78 -0
- data/bower_components/lodash/.bower.json +34 -0
- data/bower_components/lodash/LICENSE.txt +22 -0
- data/bower_components/lodash/bower.json +23 -0
- data/bower_components/lodash/dist/lodash.compat.js +7157 -0
- data/bower_components/lodash/dist/lodash.compat.min.js +61 -0
- data/bower_components/lodash/dist/lodash.js +6785 -0
- data/bower_components/lodash/dist/lodash.min.js +56 -0
- data/bower_components/lodash/dist/lodash.underscore.js +4979 -0
- data/bower_components/lodash/dist/lodash.underscore.min.js +39 -0
- data/bower_components/moment/.bower.json +31 -0
- data/bower_components/moment/LICENSE +22 -0
- data/bower_components/moment/bower.json +20 -0
- data/bower_components/moment/lang/ar-ma.js +56 -0
- data/bower_components/moment/lang/ar.js +56 -0
- data/bower_components/moment/lang/bg.js +86 -0
- data/bower_components/moment/lang/br.js +107 -0
- data/bower_components/moment/lang/bs.js +139 -0
- data/bower_components/moment/lang/ca.js +66 -0
- data/bower_components/moment/lang/cs.js +155 -0
- data/bower_components/moment/lang/cv.js +59 -0
- data/bower_components/moment/lang/cy.js +77 -0
- data/bower_components/moment/lang/da.js +56 -0
- data/bower_components/moment/lang/de.js +71 -0
- data/bower_components/moment/lang/el.js +79 -0
- data/bower_components/moment/lang/en-au.js +62 -0
- data/bower_components/moment/lang/en-ca.js +59 -0
- data/bower_components/moment/lang/en-gb.js +63 -0
- data/bower_components/moment/lang/eo.js +65 -0
- data/bower_components/moment/lang/es.js +75 -0
- data/bower_components/moment/lang/et.js +76 -0
- data/bower_components/moment/lang/eu.js +60 -0
- data/bower_components/moment/lang/fa.js +97 -0
- data/bower_components/moment/lang/fi.js +103 -0
- data/bower_components/moment/lang/fo.js +56 -0
- data/bower_components/moment/lang/fr-ca.js +54 -0
- data/bower_components/moment/lang/fr.js +58 -0
- data/bower_components/moment/lang/gl.js +71 -0
- data/bower_components/moment/lang/he.js +77 -0
- data/bower_components/moment/lang/hi.js +105 -0
- data/bower_components/moment/lang/hr.js +140 -0
- data/bower_components/moment/lang/hu.js +105 -0
- data/bower_components/moment/lang/hy-am.js +113 -0
- data/bower_components/moment/lang/id.js +67 -0
- data/bower_components/moment/lang/is.js +124 -0
- data/bower_components/moment/lang/it.js +59 -0
- data/bower_components/moment/lang/ja.js +58 -0
- data/bower_components/moment/lang/ka.js +108 -0
- data/bower_components/moment/lang/km.js +55 -0
- data/bower_components/moment/lang/ko.js +63 -0
- data/bower_components/moment/lang/lb.js +160 -0
- data/bower_components/moment/lang/lt.js +118 -0
- data/bower_components/moment/lang/lv.js +77 -0
- data/bower_components/moment/lang/mk.js +86 -0
- data/bower_components/moment/lang/ml.js +64 -0
- data/bower_components/moment/lang/mr.js +104 -0
- data/bower_components/moment/lang/ms-my.js +66 -0
- data/bower_components/moment/lang/nb.js +57 -0
- data/bower_components/moment/lang/ne.js +105 -0
- data/bower_components/moment/lang/nl.js +67 -0
- data/bower_components/moment/lang/nn.js +56 -0
- data/bower_components/moment/lang/pl.js +98 -0
- data/bower_components/moment/lang/pt-br.js +56 -0
- data/bower_components/moment/lang/pt.js +60 -0
- data/bower_components/moment/lang/ro.js +72 -0
- data/bower_components/moment/lang/ru.js +163 -0
- data/bower_components/moment/lang/sk.js +156 -0
- data/bower_components/moment/lang/sl.js +144 -0
- data/bower_components/moment/lang/sq.js +61 -0
- data/bower_components/moment/lang/sr-cyr.js +106 -0
- data/bower_components/moment/lang/sr.js +106 -0
- data/bower_components/moment/lang/sv.js +63 -0
- data/bower_components/moment/lang/ta.js +112 -0
- data/bower_components/moment/lang/th.js +58 -0
- data/bower_components/moment/lang/tl-ph.js +58 -0
- data/bower_components/moment/lang/tr.js +93 -0
- data/bower_components/moment/lang/tzm-la.js +55 -0
- data/bower_components/moment/lang/tzm.js +55 -0
- data/bower_components/moment/lang/uk.js +157 -0
- data/bower_components/moment/lang/uz.js +55 -0
- data/bower_components/moment/lang/vi.js +62 -0
- data/bower_components/moment/lang/zh-cn.js +108 -0
- data/bower_components/moment/lang/zh-tw.js +84 -0
- data/bower_components/moment/min/langs.js +5991 -0
- data/bower_components/moment/min/langs.min.js +3 -0
- data/bower_components/moment/min/moment-with-langs.js +7993 -0
- data/bower_components/moment/min/moment-with-langs.min.js +9 -0
- data/bower_components/moment/min/moment.min.js +6 -0
- data/bower_components/moment/moment.js +2489 -0
- data/bower_components/moment/readme.md +368 -0
- data/lib/logster.rb +9 -0
- data/lib/logster/logger.rb +31 -0
- data/lib/logster/message.rb +42 -0
- data/lib/logster/middleware/reporter.rb +13 -0
- data/lib/logster/middleware/viewer.rb +122 -0
- data/lib/logster/rails/railtie.rb +39 -0
- data/lib/logster/redis_store.rb +124 -0
- data/lib/logster/version.rb +3 -0
- data/logster.gemspec +30 -0
- data/test/logster/middleware/test_viewer.rb +34 -0
- data/test/logster/test_redis_store.rb +112 -0
- data/test/test_helper.rb +6 -0
- data/website/Gemfile +6 -0
- data/website/config.ru +2 -0
- data/website/data/data.json +1 -0
- data/website/docker_container/logster.yml +95 -0
- data/website/sample.rb +85 -0
- data/website/scripts/persist_logs.rb +13 -0
- metadata +375 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : modern greek (el)
|
|
3
|
+
// author : Aggelos Karalias : https://github.com/mehiel
|
|
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
|
+
return moment.lang('el', {
|
|
15
|
+
monthsNominativeEl : "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),
|
|
16
|
+
monthsGenitiveEl : "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),
|
|
17
|
+
months : function (momentToFormat, format) {
|
|
18
|
+
if (/D/.test(format.substring(0, format.indexOf("MMMM")))) { // if there is a day number before 'MMMM'
|
|
19
|
+
return this._monthsGenitiveEl[momentToFormat.month()];
|
|
20
|
+
} else {
|
|
21
|
+
return this._monthsNominativeEl[momentToFormat.month()];
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
monthsShort : "Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),
|
|
25
|
+
weekdays : "Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),
|
|
26
|
+
weekdaysShort : "Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),
|
|
27
|
+
weekdaysMin : "Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),
|
|
28
|
+
meridiem : function (hours, minutes, isLower) {
|
|
29
|
+
if (hours > 11) {
|
|
30
|
+
return isLower ? 'μμ' : 'ΜΜ';
|
|
31
|
+
} else {
|
|
32
|
+
return isLower ? 'πμ' : 'ΠΜ';
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
longDateFormat : {
|
|
36
|
+
LT : "h:mm A",
|
|
37
|
+
L : "DD/MM/YYYY",
|
|
38
|
+
LL : "D MMMM YYYY",
|
|
39
|
+
LLL : "D MMMM YYYY LT",
|
|
40
|
+
LLLL : "dddd, D MMMM YYYY LT"
|
|
41
|
+
},
|
|
42
|
+
calendarEl : {
|
|
43
|
+
sameDay : '[Σήμερα {}] LT',
|
|
44
|
+
nextDay : '[Αύριο {}] LT',
|
|
45
|
+
nextWeek : 'dddd [{}] LT',
|
|
46
|
+
lastDay : '[Χθες {}] LT',
|
|
47
|
+
lastWeek : '[την προηγούμενη] dddd [{}] LT',
|
|
48
|
+
sameElse : 'L'
|
|
49
|
+
},
|
|
50
|
+
calendar : function (key, mom) {
|
|
51
|
+
var output = this._calendarEl[key],
|
|
52
|
+
hours = mom && mom.hours();
|
|
53
|
+
|
|
54
|
+
return output.replace("{}", (hours % 12 === 1 ? "στη" : "στις"));
|
|
55
|
+
},
|
|
56
|
+
relativeTime : {
|
|
57
|
+
future : "σε %s",
|
|
58
|
+
past : "%s πριν",
|
|
59
|
+
s : "δευτερόλεπτα",
|
|
60
|
+
m : "ένα λεπτό",
|
|
61
|
+
mm : "%d λεπτά",
|
|
62
|
+
h : "μία ώρα",
|
|
63
|
+
hh : "%d ώρες",
|
|
64
|
+
d : "μία μέρα",
|
|
65
|
+
dd : "%d μέρες",
|
|
66
|
+
M : "ένας μήνας",
|
|
67
|
+
MM : "%d μήνες",
|
|
68
|
+
y : "ένας χρόνος",
|
|
69
|
+
yy : "%d χρόνια"
|
|
70
|
+
},
|
|
71
|
+
ordinal : function (number) {
|
|
72
|
+
return number + 'η';
|
|
73
|
+
},
|
|
74
|
+
week : {
|
|
75
|
+
dow : 1, // Monday is the first day of the week.
|
|
76
|
+
doy : 4 // The week that contains Jan 4st is the first week of the year.
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}));
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : australian english (en-au)
|
|
3
|
+
|
|
4
|
+
(function (factory) {
|
|
5
|
+
if (typeof define === 'function' && define.amd) {
|
|
6
|
+
define(['moment'], factory); // AMD
|
|
7
|
+
} else if (typeof exports === 'object') {
|
|
8
|
+
module.exports = factory(require('../moment')); // Node
|
|
9
|
+
} else {
|
|
10
|
+
factory(window.moment); // Browser global
|
|
11
|
+
}
|
|
12
|
+
}(function (moment) {
|
|
13
|
+
return moment.lang('en-au', {
|
|
14
|
+
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
15
|
+
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
|
16
|
+
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
17
|
+
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
18
|
+
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
|
19
|
+
longDateFormat : {
|
|
20
|
+
LT : "h:mm A",
|
|
21
|
+
L : "DD/MM/YYYY",
|
|
22
|
+
LL : "D MMMM YYYY",
|
|
23
|
+
LLL : "D MMMM YYYY LT",
|
|
24
|
+
LLLL : "dddd, D MMMM YYYY LT"
|
|
25
|
+
},
|
|
26
|
+
calendar : {
|
|
27
|
+
sameDay : '[Today at] LT',
|
|
28
|
+
nextDay : '[Tomorrow at] LT',
|
|
29
|
+
nextWeek : 'dddd [at] LT',
|
|
30
|
+
lastDay : '[Yesterday at] LT',
|
|
31
|
+
lastWeek : '[Last] dddd [at] LT',
|
|
32
|
+
sameElse : 'L'
|
|
33
|
+
},
|
|
34
|
+
relativeTime : {
|
|
35
|
+
future : "in %s",
|
|
36
|
+
past : "%s ago",
|
|
37
|
+
s : "a few seconds",
|
|
38
|
+
m : "a minute",
|
|
39
|
+
mm : "%d minutes",
|
|
40
|
+
h : "an hour",
|
|
41
|
+
hh : "%d hours",
|
|
42
|
+
d : "a day",
|
|
43
|
+
dd : "%d days",
|
|
44
|
+
M : "a month",
|
|
45
|
+
MM : "%d months",
|
|
46
|
+
y : "a year",
|
|
47
|
+
yy : "%d years"
|
|
48
|
+
},
|
|
49
|
+
ordinal : function (number) {
|
|
50
|
+
var b = number % 10,
|
|
51
|
+
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
|
52
|
+
(b === 1) ? 'st' :
|
|
53
|
+
(b === 2) ? 'nd' :
|
|
54
|
+
(b === 3) ? 'rd' : 'th';
|
|
55
|
+
return number + output;
|
|
56
|
+
},
|
|
57
|
+
week : {
|
|
58
|
+
dow : 1, // Monday is the first day of the week.
|
|
59
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : canadian english (en-ca)
|
|
3
|
+
// author : Jonathan Abourbih : https://github.com/jonbca
|
|
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
|
+
return moment.lang('en-ca', {
|
|
15
|
+
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
16
|
+
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
|
17
|
+
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
18
|
+
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
19
|
+
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
|
20
|
+
longDateFormat : {
|
|
21
|
+
LT : "h:mm A",
|
|
22
|
+
L : "YYYY-MM-DD",
|
|
23
|
+
LL : "D MMMM, YYYY",
|
|
24
|
+
LLL : "D MMMM, YYYY LT",
|
|
25
|
+
LLLL : "dddd, D MMMM, YYYY LT"
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay : '[Today at] LT',
|
|
29
|
+
nextDay : '[Tomorrow at] LT',
|
|
30
|
+
nextWeek : 'dddd [at] LT',
|
|
31
|
+
lastDay : '[Yesterday at] LT',
|
|
32
|
+
lastWeek : '[Last] dddd [at] LT',
|
|
33
|
+
sameElse : 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : "in %s",
|
|
37
|
+
past : "%s ago",
|
|
38
|
+
s : "a few seconds",
|
|
39
|
+
m : "a minute",
|
|
40
|
+
mm : "%d minutes",
|
|
41
|
+
h : "an hour",
|
|
42
|
+
hh : "%d hours",
|
|
43
|
+
d : "a day",
|
|
44
|
+
dd : "%d days",
|
|
45
|
+
M : "a month",
|
|
46
|
+
MM : "%d months",
|
|
47
|
+
y : "a year",
|
|
48
|
+
yy : "%d years"
|
|
49
|
+
},
|
|
50
|
+
ordinal : function (number) {
|
|
51
|
+
var b = number % 10,
|
|
52
|
+
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
|
53
|
+
(b === 1) ? 'st' :
|
|
54
|
+
(b === 2) ? 'nd' :
|
|
55
|
+
(b === 3) ? 'rd' : 'th';
|
|
56
|
+
return number + output;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}));
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : great britain english (en-gb)
|
|
3
|
+
// author : Chris Gedrim : https://github.com/chrisgedrim
|
|
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
|
+
return moment.lang('en-gb', {
|
|
15
|
+
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
16
|
+
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
|
17
|
+
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
18
|
+
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
19
|
+
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
|
20
|
+
longDateFormat : {
|
|
21
|
+
LT : "HH:mm",
|
|
22
|
+
L : "DD/MM/YYYY",
|
|
23
|
+
LL : "D MMMM YYYY",
|
|
24
|
+
LLL : "D MMMM YYYY LT",
|
|
25
|
+
LLLL : "dddd, D MMMM YYYY LT"
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay : '[Today at] LT',
|
|
29
|
+
nextDay : '[Tomorrow at] LT',
|
|
30
|
+
nextWeek : 'dddd [at] LT',
|
|
31
|
+
lastDay : '[Yesterday at] LT',
|
|
32
|
+
lastWeek : '[Last] dddd [at] LT',
|
|
33
|
+
sameElse : 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : "in %s",
|
|
37
|
+
past : "%s ago",
|
|
38
|
+
s : "a few seconds",
|
|
39
|
+
m : "a minute",
|
|
40
|
+
mm : "%d minutes",
|
|
41
|
+
h : "an hour",
|
|
42
|
+
hh : "%d hours",
|
|
43
|
+
d : "a day",
|
|
44
|
+
dd : "%d days",
|
|
45
|
+
M : "a month",
|
|
46
|
+
MM : "%d months",
|
|
47
|
+
y : "a year",
|
|
48
|
+
yy : "%d years"
|
|
49
|
+
},
|
|
50
|
+
ordinal : function (number) {
|
|
51
|
+
var b = number % 10,
|
|
52
|
+
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
|
53
|
+
(b === 1) ? 'st' :
|
|
54
|
+
(b === 2) ? 'nd' :
|
|
55
|
+
(b === 3) ? 'rd' : 'th';
|
|
56
|
+
return number + output;
|
|
57
|
+
},
|
|
58
|
+
week : {
|
|
59
|
+
dow : 1, // Monday is the first day of the week.
|
|
60
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}));
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : esperanto (eo)
|
|
3
|
+
// author : Colin Dean : https://github.com/colindean
|
|
4
|
+
// komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
|
|
5
|
+
// Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
|
|
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('eo', {
|
|
17
|
+
months : "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
|
|
18
|
+
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),
|
|
19
|
+
weekdays : "Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),
|
|
20
|
+
weekdaysShort : "Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),
|
|
21
|
+
weekdaysMin : "Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),
|
|
22
|
+
longDateFormat : {
|
|
23
|
+
LT : "HH:mm",
|
|
24
|
+
L : "YYYY-MM-DD",
|
|
25
|
+
LL : "D[-an de] MMMM, YYYY",
|
|
26
|
+
LLL : "D[-an de] MMMM, YYYY LT",
|
|
27
|
+
LLLL : "dddd, [la] D[-an de] MMMM, YYYY LT"
|
|
28
|
+
},
|
|
29
|
+
meridiem : function (hours, minutes, isLower) {
|
|
30
|
+
if (hours > 11) {
|
|
31
|
+
return isLower ? 'p.t.m.' : 'P.T.M.';
|
|
32
|
+
} else {
|
|
33
|
+
return isLower ? 'a.t.m.' : 'A.T.M.';
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
calendar : {
|
|
37
|
+
sameDay : '[Hodiaŭ je] LT',
|
|
38
|
+
nextDay : '[Morgaŭ je] LT',
|
|
39
|
+
nextWeek : 'dddd [je] LT',
|
|
40
|
+
lastDay : '[Hieraŭ je] LT',
|
|
41
|
+
lastWeek : '[pasinta] dddd [je] LT',
|
|
42
|
+
sameElse : 'L'
|
|
43
|
+
},
|
|
44
|
+
relativeTime : {
|
|
45
|
+
future : "je %s",
|
|
46
|
+
past : "antaŭ %s",
|
|
47
|
+
s : "sekundoj",
|
|
48
|
+
m : "minuto",
|
|
49
|
+
mm : "%d minutoj",
|
|
50
|
+
h : "horo",
|
|
51
|
+
hh : "%d horoj",
|
|
52
|
+
d : "tago",//ne 'diurno', ĉar estas uzita por proksimumo
|
|
53
|
+
dd : "%d tagoj",
|
|
54
|
+
M : "monato",
|
|
55
|
+
MM : "%d monatoj",
|
|
56
|
+
y : "jaro",
|
|
57
|
+
yy : "%d jaroj"
|
|
58
|
+
},
|
|
59
|
+
ordinal : "%da",
|
|
60
|
+
week : {
|
|
61
|
+
dow : 1, // Monday is the first day of the week.
|
|
62
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}));
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : spanish (es)
|
|
3
|
+
// author : Julio Napurí : https://github.com/julionc
|
|
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 monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
|
|
15
|
+
monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");
|
|
16
|
+
|
|
17
|
+
return moment.lang('es', {
|
|
18
|
+
months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
|
|
19
|
+
monthsShort : function (m, format) {
|
|
20
|
+
if (/-MMM-/.test(format)) {
|
|
21
|
+
return monthsShort[m.month()];
|
|
22
|
+
} else {
|
|
23
|
+
return monthsShortDot[m.month()];
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
weekdays : "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
|
|
27
|
+
weekdaysShort : "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
|
|
28
|
+
weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
|
|
29
|
+
longDateFormat : {
|
|
30
|
+
LT : "H:mm",
|
|
31
|
+
L : "DD/MM/YYYY",
|
|
32
|
+
LL : "D [de] MMMM [del] YYYY",
|
|
33
|
+
LLL : "D [de] MMMM [del] YYYY LT",
|
|
34
|
+
LLLL : "dddd, D [de] MMMM [del] YYYY LT"
|
|
35
|
+
},
|
|
36
|
+
calendar : {
|
|
37
|
+
sameDay : function () {
|
|
38
|
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
|
39
|
+
},
|
|
40
|
+
nextDay : function () {
|
|
41
|
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
|
42
|
+
},
|
|
43
|
+
nextWeek : function () {
|
|
44
|
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
|
45
|
+
},
|
|
46
|
+
lastDay : function () {
|
|
47
|
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
|
48
|
+
},
|
|
49
|
+
lastWeek : function () {
|
|
50
|
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
|
51
|
+
},
|
|
52
|
+
sameElse : 'L'
|
|
53
|
+
},
|
|
54
|
+
relativeTime : {
|
|
55
|
+
future : "en %s",
|
|
56
|
+
past : "hace %s",
|
|
57
|
+
s : "unos segundos",
|
|
58
|
+
m : "un minuto",
|
|
59
|
+
mm : "%d minutos",
|
|
60
|
+
h : "una hora",
|
|
61
|
+
hh : "%d horas",
|
|
62
|
+
d : "un día",
|
|
63
|
+
dd : "%d días",
|
|
64
|
+
M : "un mes",
|
|
65
|
+
MM : "%d meses",
|
|
66
|
+
y : "un año",
|
|
67
|
+
yy : "%d años"
|
|
68
|
+
},
|
|
69
|
+
ordinal : '%dº',
|
|
70
|
+
week : {
|
|
71
|
+
dow : 1, // Monday is the first day of the week.
|
|
72
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}));
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// moment.js language configuration
|
|
2
|
+
// language : estonian (et)
|
|
3
|
+
// author : Henry Kehlmann : https://github.com/madhenry
|
|
4
|
+
// improvements : Illimar Tambek : https://github.com/ragulka
|
|
5
|
+
|
|
6
|
+
(function (factory) {
|
|
7
|
+
if (typeof define === 'function' && define.amd) {
|
|
8
|
+
define(['moment'], factory); // AMD
|
|
9
|
+
} else if (typeof exports === 'object') {
|
|
10
|
+
module.exports = factory(require('../moment')); // Node
|
|
11
|
+
} else {
|
|
12
|
+
factory(window.moment); // Browser global
|
|
13
|
+
}
|
|
14
|
+
}(function (moment) {
|
|
15
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
16
|
+
var format = {
|
|
17
|
+
's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
|
18
|
+
'm' : ['ühe minuti', 'üks minut'],
|
|
19
|
+
'mm': [number + ' minuti', number + ' minutit'],
|
|
20
|
+
'h' : ['ühe tunni', 'tund aega', 'üks tund'],
|
|
21
|
+
'hh': [number + ' tunni', number + ' tundi'],
|
|
22
|
+
'd' : ['ühe päeva', 'üks päev'],
|
|
23
|
+
'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
|
|
24
|
+
'MM': [number + ' kuu', number + ' kuud'],
|
|
25
|
+
'y' : ['ühe aasta', 'aasta', 'üks aasta'],
|
|
26
|
+
'yy': [number + ' aasta', number + ' aastat']
|
|
27
|
+
};
|
|
28
|
+
if (withoutSuffix) {
|
|
29
|
+
return format[key][2] ? format[key][2] : format[key][1];
|
|
30
|
+
}
|
|
31
|
+
return isFuture ? format[key][0] : format[key][1];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return moment.lang('et', {
|
|
35
|
+
months : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
|
|
36
|
+
monthsShort : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
|
|
37
|
+
weekdays : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
|
|
38
|
+
weekdaysShort : "P_E_T_K_N_R_L".split("_"),
|
|
39
|
+
weekdaysMin : "P_E_T_K_N_R_L".split("_"),
|
|
40
|
+
longDateFormat : {
|
|
41
|
+
LT : "H:mm",
|
|
42
|
+
L : "DD.MM.YYYY",
|
|
43
|
+
LL : "D. MMMM YYYY",
|
|
44
|
+
LLL : "D. MMMM YYYY LT",
|
|
45
|
+
LLLL : "dddd, D. MMMM YYYY LT"
|
|
46
|
+
},
|
|
47
|
+
calendar : {
|
|
48
|
+
sameDay : '[Täna,] LT',
|
|
49
|
+
nextDay : '[Homme,] LT',
|
|
50
|
+
nextWeek : '[Järgmine] dddd LT',
|
|
51
|
+
lastDay : '[Eile,] LT',
|
|
52
|
+
lastWeek : '[Eelmine] dddd LT',
|
|
53
|
+
sameElse : 'L'
|
|
54
|
+
},
|
|
55
|
+
relativeTime : {
|
|
56
|
+
future : "%s pärast",
|
|
57
|
+
past : "%s tagasi",
|
|
58
|
+
s : processRelativeTime,
|
|
59
|
+
m : processRelativeTime,
|
|
60
|
+
mm : processRelativeTime,
|
|
61
|
+
h : processRelativeTime,
|
|
62
|
+
hh : processRelativeTime,
|
|
63
|
+
d : processRelativeTime,
|
|
64
|
+
dd : '%d päeva',
|
|
65
|
+
M : processRelativeTime,
|
|
66
|
+
MM : processRelativeTime,
|
|
67
|
+
y : processRelativeTime,
|
|
68
|
+
yy : processRelativeTime
|
|
69
|
+
},
|
|
70
|
+
ordinal : '%d.',
|
|
71
|
+
week : {
|
|
72
|
+
dow : 1, // Monday is the first day of the week.
|
|
73
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}));
|