summaryrefslogtreecommitdiffstats
path: root/js/vendor/momentjs
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 04:36:40 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 04:36:40 +0200
commit04e421cf2f4f801d7e5e6b1fbdb8221855ad4613 (patch)
tree4a5e0b5a447ed75813fd4ef92c35f2e2fb4f1ac8 /js/vendor/momentjs
parentadb9dfeb350bdb92e998fefc2827ffe8b58256a2 (diff)
add basic files for js rewrite
Diffstat (limited to 'js/vendor/momentjs')
-rw-r--r--js/vendor/momentjs/.bower.json31
-rw-r--r--js/vendor/momentjs/LICENSE22
-rw-r--r--js/vendor/momentjs/bower.json20
-rw-r--r--js/vendor/momentjs/lang/ar-ma.js56
-rw-r--r--js/vendor/momentjs/lang/ar.js56
-rw-r--r--js/vendor/momentjs/lang/bg.js86
-rw-r--r--js/vendor/momentjs/lang/br.js107
-rw-r--r--js/vendor/momentjs/lang/bs.js139
-rw-r--r--js/vendor/momentjs/lang/ca.js66
-rw-r--r--js/vendor/momentjs/lang/cs.js155
-rw-r--r--js/vendor/momentjs/lang/cv.js59
-rw-r--r--js/vendor/momentjs/lang/cy.js77
-rw-r--r--js/vendor/momentjs/lang/da.js56
-rw-r--r--js/vendor/momentjs/lang/de.js71
-rw-r--r--js/vendor/momentjs/lang/el.js79
-rw-r--r--js/vendor/momentjs/lang/en-au.js62
-rw-r--r--js/vendor/momentjs/lang/en-ca.js59
-rw-r--r--js/vendor/momentjs/lang/en-gb.js63
-rw-r--r--js/vendor/momentjs/lang/eo.js65
-rw-r--r--js/vendor/momentjs/lang/es.js75
-rw-r--r--js/vendor/momentjs/lang/et.js76
-rw-r--r--js/vendor/momentjs/lang/eu.js60
-rw-r--r--js/vendor/momentjs/lang/fa.js97
-rw-r--r--js/vendor/momentjs/lang/fi.js103
-rw-r--r--js/vendor/momentjs/lang/fo.js56
-rw-r--r--js/vendor/momentjs/lang/fr-ca.js54
-rw-r--r--js/vendor/momentjs/lang/fr.js58
-rw-r--r--js/vendor/momentjs/lang/gl.js71
-rw-r--r--js/vendor/momentjs/lang/he.js77
-rw-r--r--js/vendor/momentjs/lang/hi.js105
-rw-r--r--js/vendor/momentjs/lang/hr.js140
-rw-r--r--js/vendor/momentjs/lang/hu.js105
-rw-r--r--js/vendor/momentjs/lang/hy-am.js113
-rw-r--r--js/vendor/momentjs/lang/id.js67
-rw-r--r--js/vendor/momentjs/lang/is.js124
-rw-r--r--js/vendor/momentjs/lang/it.js59
-rw-r--r--js/vendor/momentjs/lang/ja.js58
-rw-r--r--js/vendor/momentjs/lang/ka.js108
-rw-r--r--js/vendor/momentjs/lang/km.js55
-rw-r--r--js/vendor/momentjs/lang/ko.js63
-rw-r--r--js/vendor/momentjs/lang/lb.js160
-rw-r--r--js/vendor/momentjs/lang/lt.js118
-rw-r--r--js/vendor/momentjs/lang/lv.js77
-rw-r--r--js/vendor/momentjs/lang/mk.js86
-rw-r--r--js/vendor/momentjs/lang/ml.js64
-rw-r--r--js/vendor/momentjs/lang/mr.js104
-rw-r--r--js/vendor/momentjs/lang/ms-my.js66
-rw-r--r--js/vendor/momentjs/lang/nb.js57
-rw-r--r--js/vendor/momentjs/lang/ne.js105
-rw-r--r--js/vendor/momentjs/lang/nl.js67
-rw-r--r--js/vendor/momentjs/lang/nn.js56
-rw-r--r--js/vendor/momentjs/lang/pl.js98
-rw-r--r--js/vendor/momentjs/lang/pt-br.js56
-rw-r--r--js/vendor/momentjs/lang/pt.js60
-rw-r--r--js/vendor/momentjs/lang/ro.js72
-rw-r--r--js/vendor/momentjs/lang/ru.js163
-rw-r--r--js/vendor/momentjs/lang/sk.js156
-rw-r--r--js/vendor/momentjs/lang/sl.js144
-rw-r--r--js/vendor/momentjs/lang/sq.js61
-rw-r--r--js/vendor/momentjs/lang/sr-cyr.js106
-rw-r--r--js/vendor/momentjs/lang/sr.js106
-rw-r--r--js/vendor/momentjs/lang/sv.js63
-rw-r--r--js/vendor/momentjs/lang/ta.js112
-rw-r--r--js/vendor/momentjs/lang/th.js58
-rw-r--r--js/vendor/momentjs/lang/tl-ph.js58
-rw-r--r--js/vendor/momentjs/lang/tr.js93
-rw-r--r--js/vendor/momentjs/lang/tzm-la.js55
-rw-r--r--js/vendor/momentjs/lang/tzm.js55
-rw-r--r--js/vendor/momentjs/lang/uk.js157
-rw-r--r--js/vendor/momentjs/lang/uz.js55
-rw-r--r--js/vendor/momentjs/lang/vi.js62
-rw-r--r--js/vendor/momentjs/lang/zh-cn.js108
-rw-r--r--js/vendor/momentjs/lang/zh-tw.js84
-rw-r--r--js/vendor/momentjs/min/langs.js5991
-rw-r--r--js/vendor/momentjs/min/langs.min.js3
-rw-r--r--js/vendor/momentjs/min/moment-with-langs.js7993
-rw-r--r--js/vendor/momentjs/min/moment-with-langs.min.js9
-rw-r--r--js/vendor/momentjs/min/moment.min.js6
-rw-r--r--js/vendor/momentjs/moment.js2489
-rw-r--r--js/vendor/momentjs/readme.md368
80 files changed, 22854 insertions, 0 deletions
diff --git a/js/vendor/momentjs/.bower.json b/js/vendor/momentjs/.bower.json
new file mode 100644
index 000000000..65c86cc7e
--- /dev/null
+++ b/js/vendor/momentjs/.bower.json
@@ -0,0 +1,31 @@
+{
+ "name": "moment",
+ "version": "2.6.0",
+ "main": "moment.js",
+ "ignore": [
+ "**/.*",
+ "node_modules",
+ "bower_components",
+ "test",
+ "tests",
+ "tasks",
+ "component.json",
+ "composer.json",
+ "CONTRIBUTING.md",
+ "ender.js",
+ "Gruntfile.js",
+ "package.js",
+ "package.json"
+ ],
+ "homepage": "https://github.com/moment/moment",
+ "_release": "2.6.0",
+ "_resolution": {
+ "type": "version",
+ "tag": "2.6.0",
+ "commit": "249223c7ffe5b48caeee6cabb5d27f78cc47bbad"
+ },
+ "_source": "git://github.com/moment/moment.git",
+ "_target": "~2.6.0",
+ "_originalSource": "momentjs",
+ "_direct": true
+} \ No newline at end of file
diff --git a/js/vendor/momentjs/LICENSE b/js/vendor/momentjs/LICENSE
new file mode 100644
index 000000000..bd172467a
--- /dev/null
+++ b/js/vendor/momentjs/LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/js/vendor/momentjs/bower.json b/js/vendor/momentjs/bower.json
new file mode 100644
index 000000000..e67f55e40
--- /dev/null
+++ b/js/vendor/momentjs/bower.json
@@ -0,0 +1,20 @@
+{
+ "name": "moment",
+ "version": "2.6.0",
+ "main": "moment.js",
+ "ignore": [
+ "**/.*",
+ "node_modules",
+ "bower_components",
+ "test",
+ "tests",
+ "tasks",
+ "component.json",
+ "composer.json",
+ "CONTRIBUTING.md",
+ "ender.js",
+ "Gruntfile.js",
+ "package.js",
+ "package.json"
+ ]
+}
diff --git a/js/vendor/momentjs/lang/ar-ma.js b/js/vendor/momentjs/lang/ar-ma.js
new file mode 100644
index 000000000..1c159f102
--- /dev/null
+++ b/js/vendor/momentjs/lang/ar-ma.js
@@ -0,0 +1,56 @@
+// moment.js language configuration
+// language : Moroccan Arabic (ar-ma)
+// author : ElFadili Yassine : https://github.com/ElFadiliY
+// author : Abdel Said : https://github.com/abdelsaid
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['moment'], factory); // AMD
+ } else if (typeof exports === 'object') {
+ module.exports = factory(require('../moment')); // Node
+ } else {
+ factory(window.moment); // Browser global
+ }
+}(function (moment) {
+ return moment.lang('ar-ma', {
+ months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
+ monthsShort : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),
+ weekdays : "الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
+ weekdaysShort : "احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),
+ weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
+ longDateFormat : {
+ LT : "HH:mm",
+ L : "DD/MM/YYYY",
+ LL : "D MMMM YYYY",
+ LLL : "D MMMM YYYY LT",
+ LLLL : "dddd D MMMM YYYY LT"
+ },
+ calendar : {
+ sameDay: "[اليوم على الساعة] LT",
+ nextDay: '[غدا على الساعة] LT',
+ nextWeek: 'dddd [على الساعة] LT',
+ lastDay: '[أمس على الساعة] LT',
+ lastWeek: 'dddd [على الساعة] LT',
+ sameElse: 'L'
+ },
+ relativeTime : {
+ future : "في %s",
+ past : "منذ %s",
+ s : "ثوان",
+ m : "دقيقة",
+ mm : "%d دقائق",
+ h : "ساعة",
+ hh : "%d ساعات",
+ d : "يوم",
+ dd : "%d أيام",
+ M : "شهر",
+ MM : "%d أشهر",
+ y : "سنة",
+ yy : "%d سنوات"
+ },
+ week : {
+ dow : 6, // Saturday is the first day of the week.
+ doy : 12 // The week that contains Jan 1st is the first week of the year.
+ }
+ });
+}));
diff --git a/js/vendor/momentjs/lang/ar.js b/js/vendor/momentjs/lang/ar.js
new file mode 100644
index 000000000..6e27d29a9
--- /dev/null
+++ b/js/vendor/momentjs/lang/ar.js
@@ -0,0 +1,56 @@
+// moment.js language configuration
+// language : Arabic (ar)
+// author : Abdel Said : https://github.com/abdelsaid
+// changes in months, weekdays : Ahmed Elkhatib
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['moment'], factory); // AMD
+ } else if (typeof exports === 'object') {
+ module.exports = factory(require('../moment')); // Node
+ } else {
+ factory(window.moment); // Browser global
+ }
+}(function (moment) {
+ return moment.lang('ar', {
+ months : "يناير/ كانون الثاني_فبراير/ شباط_مارس/ آذار_أبريل/ نيسان_مايو/ أيار_يونيو/ حزيران_يوليو/ تموز_أغسطس/ آب_سبتمبر/ أيلول_أكتوبر/ تشرين الأول_نوفمبر/ تشرين الثاني_ديسمبر/ كانون الأول".split("_"),
+ monthsShort : "يناير/ كانون الثاني_فبراير/ شباط_مارس/ آذار_أبريل/ نيسان_مايو/ أيار_يونيو/ حزيران_يوليو/ تموز_أغسطس/ آب_سبتمبر/ أيلول_أكتوبر/ تشرين الأول_نوفمبر/ تشرين الثاني_ديسمبر/ كانون الأول".split("_"),
+ weekdays : "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
+ weekdaysShort : "الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),
+ weekdaysMin : "ح_ن_ث_ر_خ_ج_س".split("_"),
+ longDateFormat : {
+ LT : "HH:mm",
+ L : "DD/MM/YYYY",
+ LL : "D MMMM YYYY",
+ LLL : "D MMMM YYYY LT",
+ LLLL : "dddd D MMMM YYYY LT"
+ },
+ calendar : {
+ sameDay: "[اليوم على الساعة] LT",
+ nextDay: '[غدا على الساعة] LT',
+ nextWeek: 'dddd [على الساعة] LT',
+ lastDay: '[أمس على الساعة] LT',
+ lastWeek: 'dddd [على الساعة] LT',
+ sameElse: 'L'
+ },
+ relativeTime : {
+ future : "في %s",
+ past : "منذ %s",
+ s : "ثوان",
+ m : "دقيقة",
+ mm : "%d دقائق",
+ h : "ساعة",
+ hh : "%d ساعات",
+ d : "يوم",
+ dd : "%d أيام",
+ M : "شهر",
+ MM : "%d أشهر",
+ y : "سنة",
+ yy : "%d سنوات"
+ },
+ week : {
+ dow : 6, // Saturday is the first day of the week.
+ doy : 12 // The week that contains Jan 1st is the first week of the year.
+ }
+ });
+}));
diff --git a/js/vendor/momentjs/lang/bg.js b/js/vendor/momentjs/lang/bg.js
new file mode 100644
index 000000000..f47ed65a9
--- /dev/null
+++ b/js/vendor/momentjs/lang/bg.js
@@ -0,0 +1,86 @@
+// moment.js language configuration
+// language : bulgarian (bg)
+// author : Krasen Borisov : https://github.com/kraz
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['moment'], factory); // AMD
+ } else if (typeof exports === 'object') {
+ module.exports = factory(require('../moment')); // Node
+ } else {
+ factory(window.moment); // Browser global
+ }
+}(function (moment) {
+ return moment.lang('bg', {
+ months : "януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),
+ monthsShort : "янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),
+ weekdays : "неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),
+ weekdaysShort : "нед_пон_вто_сря_чет_пет_съб".split("_"),
+ weekdaysMin : "нд_пн_вт_ср_чт_пт_сб".split("_"),
+ longDateFormat : {
+ LT : "H:mm",
+ L : "D.MM.YYYY",
+ LL : "D MMMM YYYY",
+ LLL : "D MMMM YYYY LT",
+ LLLL : "dddd, D MMMM YYYY LT"
+ },
+ calendar : {
+ sameDay : '[Днес в] LT',
+ nextDay : '[Утре в] LT',
+ nextWeek : 'dddd [в] LT',
+ lastDay : '[Вчера в] LT',
+ lastWeek : function () {
+ switch (this.day()) {
+ case 0:
+ case 3:
+ case 6:
+ return '[В изминалата] dddd [в] LT';
+ case 1:
+ case 2:
+ case 4:
+ case 5:
+ return '[В изминалия] dddd [в] LT';
+ }
+ },
+ sameElse : 'L'
+ },
+ relativeTime : {
+ future : "след %s",
+ past : "преди %s",
+ s : "няколко секунди",
+ m : "минута",
+ mm : "%d минути",
+ h : "час",
+ hh : "%d часа",
+ d : "ден",
+ dd : "%d дни",
+ M : "месец",
+ MM : "%d месеца",
+ y : "година",
+ yy : "%d години"
+ },
+ ordinal : function (number) {
+ var lastDigit = number % 10,
+ last2Digits = number % 100;
+ if (number === 0) {
+ return number + '-ев';
+ } else if (last2Digits === 0) {
+ return number + '-ен';
+ } else if (last2Digits > 10 && last2Digits < 20) {
+ return number + '-ти';
+ } else if (lastDigit === 1) {
+ return number + '-ви';
+ } else if (lastDigit === 2) {
+ return number + '-ри';
+ } else if (lastDigit === 7 || lastDigit === 8) {
+ return number + '-ми';
+ } else {
+ return number + '-ти';
+ }
+ },
+ week : {
+ dow : 1, // Monday is the first day of the week.
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
+ }
+ });
+}));
diff --git a/js/vendor/momentjs/lang/br.js b/js/vendor/momentjs/lang/br.js
new file mode 100644
index 000000000..39c60df07
--- /dev/null
+++ b/js/vendor/momentjs/lang/br.js
@@ -0,0 +1,107 @@
+// moment.js language configuration
+// language : breton (br)
+// author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['moment'], factory); // AMD
+ } else if (typeof exports === 'object') {
+ module.exports = factory(require('../moment')); // Node
+ } else {
+ factory(window.moment); // Browser global
+ }
+}(function (moment) {
+ function relativeTimeWithMutation(number, withoutSuffix, key) {
+ var format = {
+ 'mm': "munutenn",
+ 'MM': "miz",
+ 'dd': "devezh"
+ };
+ return number + ' ' + mutation(format[key], number);
+ }
+
+ function specialMutationForYears(number) {</