Update bower assets

pull/2487/head
Angel Fernando Quiroz Campos 8 years ago
parent 60da282ddb
commit 12cd5ac6f1
  1. 8
      app/Resources/public/assets/i18next/.bower.json
  2. 6
      app/Resources/public/assets/i18next/CHANGELOG.md
  3. 193
      app/Resources/public/assets/i18next/i18next.js
  4. 4
      app/Resources/public/assets/i18next/i18next.min.js
  5. 8
      app/Resources/public/assets/jquery-file-upload/.bower.json
  6. 2
      app/Resources/public/assets/jquery-file-upload/bower.json
  7. 2
      app/Resources/public/assets/jquery-file-upload/js/jquery.fileupload-image.js
  8. 8
      app/Resources/public/assets/moment/.bower.json
  9. 61
      app/Resources/public/assets/moment/CHANGELOG.md
  10. 2
      app/Resources/public/assets/moment/locale/af.js
  11. 59
      app/Resources/public/assets/moment/locale/ar-kw.js
  12. 2
      app/Resources/public/assets/moment/locale/az.js
  13. 2
      app/Resources/public/assets/moment/locale/be.js
  14. 2
      app/Resources/public/assets/moment/locale/bg.js
  15. 2
      app/Resources/public/assets/moment/locale/br.js
  16. 2
      app/Resources/public/assets/moment/locale/bs.js
  17. 19
      app/Resources/public/assets/moment/locale/ca.js
  18. 2
      app/Resources/public/assets/moment/locale/cs.js
  19. 2
      app/Resources/public/assets/moment/locale/cv.js
  20. 2
      app/Resources/public/assets/moment/locale/cy.js
  21. 14
      app/Resources/public/assets/moment/locale/da.js
  22. 2
      app/Resources/public/assets/moment/locale/de-at.js
  23. 78
      app/Resources/public/assets/moment/locale/de-ch.js
  24. 2
      app/Resources/public/assets/moment/locale/de.js
  25. 6
      app/Resources/public/assets/moment/locale/el.js
  26. 2
      app/Resources/public/assets/moment/locale/en-au.js
  27. 2
      app/Resources/public/assets/moment/locale/en-ca.js
  28. 2
      app/Resources/public/assets/moment/locale/en-gb.js
  29. 2
      app/Resources/public/assets/moment/locale/en-ie.js
  30. 2
      app/Resources/public/assets/moment/locale/en-nz.js
  31. 20
      app/Resources/public/assets/moment/locale/eo.js
  32. 6
      app/Resources/public/assets/moment/locale/es-do.js
  33. 6
      app/Resources/public/assets/moment/locale/es.js
  34. 2
      app/Resources/public/assets/moment/locale/et.js
  35. 2
      app/Resources/public/assets/moment/locale/eu.js
  36. 4
      app/Resources/public/assets/moment/locale/fa.js
  37. 2
      app/Resources/public/assets/moment/locale/fi.js
  38. 2
      app/Resources/public/assets/moment/locale/fo.js
  39. 32
      app/Resources/public/assets/moment/locale/fr-ca.js
  40. 32
      app/Resources/public/assets/moment/locale/fr-ch.js
  41. 37
      app/Resources/public/assets/moment/locale/fr.js
  42. 6
      app/Resources/public/assets/moment/locale/fy.js
  43. 2
      app/Resources/public/assets/moment/locale/gd.js
  44. 2
      app/Resources/public/assets/moment/locale/gl.js
  45. 122
      app/Resources/public/assets/moment/locale/gom-latn.js
  46. 2
      app/Resources/public/assets/moment/locale/hr.js
  47. 2
      app/Resources/public/assets/moment/locale/hu.js
  48. 2
      app/Resources/public/assets/moment/locale/hy-am.js
  49. 2
      app/Resources/public/assets/moment/locale/is.js
  50. 8
      app/Resources/public/assets/moment/locale/it.js
  51. 14
      app/Resources/public/assets/moment/locale/ja.js
  52. 6
      app/Resources/public/assets/moment/locale/ka.js
  53. 2
      app/Resources/public/assets/moment/locale/kk.js
  54. 126
      app/Resources/public/assets/moment/locale/kn.js
  55. 16
      app/Resources/public/assets/moment/locale/ko.js
  56. 2
      app/Resources/public/assets/moment/locale/ky.js
  57. 2
      app/Resources/public/assets/moment/locale/lb.js
  58. 2
      app/Resources/public/assets/moment/locale/lo.js
  59. 2
      app/Resources/public/assets/moment/locale/lt.js
  60. 2
      app/Resources/public/assets/moment/locale/lv.js
  61. 2
      app/Resources/public/assets/moment/locale/me.js
  62. 2
      app/Resources/public/assets/moment/locale/mi.js
  63. 2
      app/Resources/public/assets/moment/locale/mk.js
  64. 2
      app/Resources/public/assets/moment/locale/nb.js
  65. 6
      app/Resources/public/assets/moment/locale/nl-be.js
  66. 6
      app/Resources/public/assets/moment/locale/nl.js
  67. 2
      app/Resources/public/assets/moment/locale/nn.js
  68. 6
      app/Resources/public/assets/moment/locale/pl.js
  69. 4
      app/Resources/public/assets/moment/locale/pt-br.js
  70. 4
      app/Resources/public/assets/moment/locale/pt.js
  71. 2
      app/Resources/public/assets/moment/locale/ru.js
  72. 98
      app/Resources/public/assets/moment/locale/sd.js
  73. 2
      app/Resources/public/assets/moment/locale/se.js
  74. 2
      app/Resources/public/assets/moment/locale/si.js
  75. 2
      app/Resources/public/assets/moment/locale/sk.js
  76. 2
      app/Resources/public/assets/moment/locale/sl.js
  77. 2
      app/Resources/public/assets/moment/locale/sq.js
  78. 2
      app/Resources/public/assets/moment/locale/sr-cyrl.js
  79. 2
      app/Resources/public/assets/moment/locale/sr.js
  80. 2
      app/Resources/public/assets/moment/locale/ss.js
  81. 2
      app/Resources/public/assets/moment/locale/sv.js
  82. 2
      app/Resources/public/assets/moment/locale/ta.js
  83. 2
      app/Resources/public/assets/moment/locale/te.js
  84. 2
      app/Resources/public/assets/moment/locale/tet.js
  85. 2
      app/Resources/public/assets/moment/locale/th.js
  86. 2
      app/Resources/public/assets/moment/locale/tl-ph.js
  87. 2
      app/Resources/public/assets/moment/locale/tlh.js
  88. 2
      app/Resources/public/assets/moment/locale/tr.js
  89. 2
      app/Resources/public/assets/moment/locale/tzl.js
  90. 11
      app/Resources/public/assets/moment/locale/uk.js
  91. 99
      app/Resources/public/assets/moment/locale/ur.js
  92. 58
      app/Resources/public/assets/moment/locale/uz-latn.js
  93. 2
      app/Resources/public/assets/moment/locale/vi.js
  94. 2
      app/Resources/public/assets/moment/locale/x-pseudo.js
  95. 2
      app/Resources/public/assets/moment/locale/yo.js
  96. 42
      app/Resources/public/assets/moment/locale/zh-cn.js
  97. 14
      app/Resources/public/assets/moment/locale/zh-hk.js
  98. 14
      app/Resources/public/assets/moment/locale/zh-tw.js
  99. 1162
      app/Resources/public/assets/moment/min/locales.js
  100. 419
      app/Resources/public/assets/moment/min/locales.min.js
  101. Some files were not shown because too many files have changed in this diff Show More

@ -18,12 +18,12 @@
"karma.conf.js"
],
"homepage": "https://github.com/i18next/i18next",
"version": "7.1.1",
"_release": "7.1.1",
"version": "7.1.3",
"_release": "7.1.3",
"_resolution": {
"type": "version",
"tag": "v7.1.1",
"commit": "2ac9c1f6bf107946b92053cf66e0111bc2464394"
"tag": "v7.1.3",
"commit": "eb036b4b3db9c2dd2f0dc079ec4f07e01da23590"
},
"_source": "https://github.com/i18next/i18next.git",
"_target": ">=2.4.0",

@ -1,3 +1,9 @@
### 7.1.3
- fixes issue in returnObject tree called with options including ns: [react-i18next #240](https://github.com/i18next/react-i18next/issues/240)
### 7.1.2
- remove regex escape from format separators [#896](https://github.com/i18next/i18next/pull/896)
### 7.1.1
- change to named plugins for 3rd party - just calling init

@ -752,7 +752,7 @@ var Translator = function (_EventEmitter) {
var copy$$1 = resType === '[object Array]' ? [] : {}; // apply child translation on a copy
for (var m in res) {
copy$$1[m] = this.translate('' + key + keySeparator + m, _extends({ joinArrays: false, ns: namespaces }, options));
copy$$1[m] = this.translate('' + key + keySeparator + m, _extends({}, options, { joinArrays: false, ns: namespaces }));
}
res = copy$$1;
}
@ -1160,58 +1160,40 @@ var PluralResolver = function () {
var rule = this.getRule(code);
if (rule) {
var _ret = function () {
if (rule.numbers.length === 1) return {
v: ''
}; // only singular
var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count));
var suffix = rule.numbers[idx];
// special treatment for lngs only having singular and plural
if (rule.numbers.length === 2 && rule.numbers[0] === 1) {
if (suffix === 2) {
suffix = 'plural';
} else if (suffix === 1) {
suffix = '';
}
if (rule.numbers.length === 1) return ''; // only singular
var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count));
var suffix = rule.numbers[idx];
// special treatment for lngs only having singular and plural
if (rule.numbers.length === 2 && rule.numbers[0] === 1) {
if (suffix === 2) {
suffix = 'plural';
} else if (suffix === 1) {
suffix = '';
}
}
var returnSuffix = function returnSuffix() {
return _this.options.prepend && suffix.toString() ? _this.options.prepend + suffix.toString() : suffix.toString();
};
var returnSuffix = function returnSuffix() {
return _this.options.prepend && suffix.toString() ? _this.options.prepend + suffix.toString() : suffix.toString();
};
// COMPATIBILITY JSON
// v1
if (_this.options.compatibilityJSON === 'v1') {
if (suffix === 1) return {
v: ''
};
if (typeof suffix === 'number') return {
v: '_plural_' + suffix.toString()
};
return {
v: returnSuffix()
};
// COMPATIBILITY JSON
// v1
if (this.options.compatibilityJSON === 'v1') {
if (suffix === 1) return '';
if (typeof suffix === 'number') return '_plural_' + suffix.toString();
return returnSuffix();
}
// v2
else if (this.options.compatibilityJSON === 'v2' || rule.numbers.length === 2 && rule.numbers[0] === 1) {
return returnSuffix();
}
// v2
else if (_this.options.compatibilityJSON === 'v2' || rule.numbers.length === 2 && rule.numbers[0] === 1) {
return {
v: returnSuffix()
};
// v3 - gettext index
else if (rule.numbers.length === 2 && rule.numbers[0] === 1) {
return returnSuffix();
}
// v3 - gettext index
else if (rule.numbers.length === 2 && rule.numbers[0] === 1) {
return {
v: returnSuffix()
};
}
return {
v: _this.options.prepend && idx.toString() ? _this.options.prepend + idx.toString() : idx.toString()
};
}();
if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v;
return this.options.prepend && idx.toString() ? this.options.prepend + idx.toString() : idx.toString();
} else {
this.logger.warn('no plural rule found for: ' + code);
return '';
@ -1250,7 +1232,8 @@ var Interpolator = function () {
this.prefix = iOpts.prefix ? regexEscape(iOpts.prefix) : iOpts.prefixEscaped || '{{';
this.suffix = iOpts.suffix ? regexEscape(iOpts.suffix) : iOpts.suffixEscaped || '}}';
this.formatSeparator = iOpts.formatSeparator ? regexEscape(iOpts.formatSeparator) : iOpts.formatSeparator || ',';
this.formatSeparator = iOpts.formatSeparator ? iOpts.formatSeparator : iOpts.formatSeparator || ',';
this.unescapePrefix = iOpts.unescapeSuffix ? '' : iOpts.unescapePrefix || '-';
this.unescapeSuffix = this.unescapePrefix ? '' : iOpts.unescapeSuffix || '';
@ -1550,29 +1533,27 @@ var Connector = function (_EventEmitter) {
// load one by one
else {
(function () {
var readOne = function readOne(name) {
var _this6 = this;
var readOne = function readOne(name) {
var _this6 = this;
var _name$split5 = name.split('|'),
_name$split6 = slicedToArray(_name$split5, 2),
lng = _name$split6[0],
ns = _name$split6[1];
var _name$split5 = name.split('|'),
_name$split6 = slicedToArray(_name$split5, 2),
lng = _name$split6[0],
ns = _name$split6[1];
this.read(lng, ns, 'read', null, null, function (err, data) {
if (err) _this6.logger.warn('loading namespace ' + ns + ' for language ' + lng + ' failed', err);
if (!err && data) _this6.logger.log('loaded namespace ' + ns + ' for language ' + lng, data);
this.read(lng, ns, 'read', null, null, function (err, data) {
if (err) _this6.logger.warn('loading namespace ' + ns + ' for language ' + lng + ' failed', err);
if (!err && data) _this6.logger.log('loaded namespace ' + ns + ' for language ' + lng, data);
_this6.loaded(name, err, data);
});
};
_this6.loaded(name, err, data);
});
};
toLoad.toLoad.forEach(function (name) {
readOne.call(_this5, name);
});
})();
toLoad.toLoad.forEach(function (name) {
readOne.call(_this5, name);
});
}
};
@ -1610,31 +1591,29 @@ var Connector = function (_EventEmitter) {
// load one by one
else {
(function () {
var readOne = function readOne(name) {
var _this8 = this;
var readOne = function readOne(name) {
var _this8 = this;
var _name$split7 = name.split('|'),
_name$split8 = slicedToArray(_name$split7, 2),
lng = _name$split8[0],
ns = _name$split8[1];
var _name$split7 = name.split('|'),
_name$split8 = slicedToArray(_name$split7, 2),
lng = _name$split8[0],
ns = _name$split8[1];
this.read(lng, ns, 'read', null, null, function (err, data) {
if (err) _this8.logger.warn('reloading namespace ' + ns + ' for language ' + lng + ' failed', err);
if (!err && data) _this8.logger.log('reloaded namespace ' + ns + ' for language ' + lng, data);
this.read(lng, ns, 'read', null, null, function (err, data) {
if (err) _this8.logger.warn('reloading namespace ' + ns + ' for language ' + lng + ' failed', err);
if (!err && data) _this8.logger.log('reloaded namespace ' + ns + ' for language ' + lng, data);
_this8.loaded(name, err, data);
});
};
_this8.loaded(name, err, data);
});
};
languages.forEach(function (l) {
namespaces.forEach(function (n) {
readOne.call(_this7, l + '|' + n);
});
languages.forEach(function (l) {
namespaces.forEach(function (n) {
readOne.call(_this7, l + '|' + n);
});
})();
});
}
};
@ -1920,35 +1899,29 @@ var I18n = function (_EventEmitter) {
var callback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : noop;
if (!this.options.resources) {
var _ret = function () {
if (_this3.language && _this3.language.toLowerCase() === 'cimode') return {
v: callback()
}; // avoid loading resources for cimode
var toLoad = [];
var append = function append(lng) {
if (!lng) return;
var lngs = _this3.services.languageUtils.toResolveHierarchy(lng);
lngs.forEach(function (l) {
if (toLoad.indexOf(l) < 0) toLoad.push(l);
});
};
if (this.language && this.language.toLowerCase() === 'cimode') return callback(); // avoid loading resources for cimode
append(_this3.language);
var toLoad = [];
if (_this3.options.preload) {
_this3.options.preload.forEach(function (l) {
append(l);
});
}
var append = function append(lng) {
if (!lng) return;
var lngs = _this3.services.languageUtils.toResolveHierarchy(lng);
lngs.forEach(function (l) {
if (toLoad.indexOf(l) < 0) toLoad.push(l);
});
};
_this3.services.cacheConnector.load(toLoad, _this3.options.ns, function () {
_this3.services.backendConnector.load(toLoad, _this3.options.ns, callback);
append(this.language);
if (this.options.preload) {
this.options.preload.forEach(function (l) {
append(l);
});
}();
}
if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v;
this.services.cacheConnector.load(toLoad, this.options.ns, function () {
_this3.services.backendConnector.load(toLoad, _this3.options.ns, callback);
});
} else {
callback(null);
}

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{
"name": "blueimp-file-upload",
"version": "9.17.0",
"version": "9.18.0",
"title": "jQuery File Upload",
"description": "File Upload widget with multiple file selection, drag&amp;drop support, progress bar, validation and preview images.",
"keywords": [
@ -61,11 +61,11 @@
"server",
"test"
],
"_release": "9.17.0",
"_release": "9.18.0",
"_resolution": {
"type": "version",
"tag": "v9.17.0",
"commit": "78888fddec03fd58551b64752e4fcbb2e6524996"
"tag": "v9.18.0",
"commit": "6b686fde337ca7335ea63ffa8f89012a19c138e1"
},
"_source": "https://github.com/blueimp/jQuery-File-Upload.git",
"_target": "*",

@ -1,6 +1,6 @@
{
"name": "blueimp-file-upload",
"version": "9.17.0",
"version": "9.18.0",
"title": "jQuery File Upload",
"description": "File Upload widget with multiple file selection, drag&amp;drop support, progress bar, validation and preview images.",
"keywords": [

@ -20,6 +20,7 @@
'jquery',
'load-image',
'load-image-meta',
'load-image-scale',
'load-image-exif',
'canvas-to-blob',
'./jquery.fileupload-process'
@ -30,6 +31,7 @@
require('jquery'),
require('blueimp-load-image/js/load-image'),
require('blueimp-load-image/js/load-image-meta'),
require('blueimp-load-image/js/load-image-scale'),
require('blueimp-load-image/js/load-image-exif'),
require('blueimp-canvas-to-blob'),
require('./jquery.fileupload-process')

@ -23,12 +23,12 @@
"typing-tests"
],
"homepage": "https://github.com/moment/moment",
"version": "2.17.1",
"_release": "2.17.1",
"version": "2.18.1",
"_release": "2.18.1",
"_resolution": {
"type": "version",
"tag": "2.17.1",
"commit": "c83c4058b4c88d0a2ab10aac28ac787e31993c39"
"tag": "2.18.1",
"commit": "0af7d4f5f25f911c2eaab2a7ccb534c17e65c536"
},
"_source": "https://github.com/moment/moment.git",
"_target": ">=2.9.0",

@ -1,6 +1,34 @@
Changelog
=========
### 2.18.1
* Release Mar 22, 2017
* [#3853](https://github.com/moment/moment/pull/3853) [misc] Fix invalid whitespace character causing inability to parse
moment.js
### 2.18.0 [See full changelog](https://gist.github.com/ichernev/78920c5a1e419fb28c6e4546d1b7235c)
* Release Mar 18, 2017
## Features
* [#3708](https://github.com/moment/moment/pull/3708) [feature] RFC2822 parsing
* [#3611](https://github.com/moment/moment/pull/3611) [feature] Durations gain validity
* [#3738](https://github.com/moment/moment/pull/3738) [feature] Enable relative time for multiple seconds, request [#2558](https://github.com/moment/moment/issues/2558)
* [#3766](https://github.com/moment/moment/pull/3766) [feature] Add support for k and kk format parsing
## Bugfixes
* [#3643](https://github.com/moment/moment/pull/3643) [bugfix] Fixes [#3520](https://github.com/moment/moment/issues/3520), parseZone incorrectly handled minutes under 16
* [#3710](https://github.com/moment/moment/pull/3710) [bugfix] Fixes [#3632](https://github.com/moment/moment/issues/3632), toISOString returns null for invalid date
* [#3787](https://github.com/moment/moment/pull/3787) [bugfix] Fixes [#3717](https://github.com/moment/moment/issues/3717), ensure day-of-year is non-zero
* [#3780](https://github.com/moment/moment/pull/3780) [bugfix] Fixes [#3765](https://github.com/moment/moment/issues/3765): Ensure year 0 is formatted with YYYY
* [#3806](https://github.com/moment/moment/pull/3806) [bugfix] Fixes [#3805](https://github.com/moment/moment/issues/3805), fix locale month getters for standalone/format cases
7 new locales, many locale improvements and some misc changes
### 2.17.1 [Also available here](https://gist.github.com/ichernev/f38280b2b29c4932914a6d3a4e50bfb2)
* Release Dec 03, 2016
@ -80,29 +108,30 @@ Also some locale and typescript improvements
- Release July 20, 2016
## New Features
* [#3233](http://github.com/moment/moment/pull/3233) Introduce month.isFormat for format/standalone discovery
* [#2848](http://github.com/moment/moment/pull/2848) Allow user to get/set the rounding method used when calculating relative time
* [#3112](http://github.com/moment/moment/pull/3112) optimize configFromStringAndFormat
* [#3147](http://github.com/moment/moment/pull/3147) Call calendar format function with moment context
* [#3160](http://github.com/moment/moment/pull/3160) deprecate isDSTShifted
* [#3175](http://github.com/moment/moment/pull/3175) make moment calendar extensible with ad-hoc options
* [#3191](http://github.com/moment/moment/pull/3191) toDate returns a copy of the internal date object
* [#3192](http://github.com/moment/moment/pull/3192) Adding support for rollup import.
* [#3238](http://github.com/moment/moment/pull/3238) Handle empty object and empty array for creation as now
* [#3082](http://github.com/moment/moment/pull/3082) Use relative AMD moment dependency
* [#3233](https://github.com/moment/moment/pull/3233) Introduce month.isFormat for format/standalone discovery
* [#2848](https://github.com/moment/moment/pull/2848) Allow user to get/set the rounding method used when calculating relative time
* [#3112](https://github.com/moment/moment/pull/3112) optimize configFromStringAndFormat
* [#3147](https://github.com/moment/moment/pull/3147) Call calendar format function with moment context
* [#3160](https://github.com/moment/moment/pull/3160) deprecate isDSTShifted
* [#3175](https://github.com/moment/moment/pull/3175) make moment calendar extensible with ad-hoc options
* [#3191](https://github.com/moment/moment/pull/3191) toDate returns a copy of the internal date object
* [#3192](https://github.com/moment/moment/pull/3192) Adding support for rollup import.
* [#3238](https://github.com/moment/moment/pull/3238) Handle empty object and empty array for creation as now
* [#3082](https://github.com/moment/moment/pull/3082) Use relative AMD moment dependency
## Bugfixes
* [#3241](http://github.com/moment/moment/pull/3241) Escape all 24 mixed pieces, not only first 12 in computeMonthsParse
* [#3008](http://github.com/moment/moment/pull/3008) Object setter orders sets based on size of unit
* [#3177](http://github.com/moment/moment/pull/3177) Bug Fix [#2704](http://github.com/moment/moment/pull/2704) - isoWeekday(String) inconsistent with isoWeekday(Number)
* [#3230](http://github.com/moment/moment/pull/3230) fix passing date with format string to ignore format string
* [#3232](http://github.com/moment/moment/pull/3232) Fix negative 0 in certain diff cases
* [#3235](http://github.com/moment/moment/pull/3235) Use proper locale inheritance for the base locale, fixes [#3137](http://github.com/moment/moment/pull/3137)
* [#3241](https://github.com/moment/moment/pull/3241) Escape all 24 mixed pieces, not only first 12 in computeMonthsParse
* [#3008](https://github.com/moment/moment/pull/3008) Object setter orders sets based on size of unit
* [#3177](https://github.com/moment/moment/pull/3177) Bug Fix [#2704](https://github.com/moment/moment/pull/2704) - isoWeekday(String) inconsistent with isoWeekday(Number)
* [#3230](https://github.com/moment/moment/pull/3230) fix passing date with format string to ignore format string
* [#3232](https://github.com/moment/moment/pull/3232) Fix negative 0 in certain diff cases
* [#3235](https://github.com/moment/moment/pull/3235) Use proper locale inheritance for the base locale, fixes [#3137](https://github.com/moment/moment/pull/3137)
Plus es-do locale and locale bugfixes
### 2.13.0 [See full changelog](https://gist.github.com/ichernev/0132fcf5b61f7fc140b0bb0090480d49)
- Release April 18, 2016
## Enhancements:
* [#2982](https://github.com/moment/moment/pull/2982) Add 'date' as alias to 'day' for startOf() and endOf().
* [#2955](https://github.com/moment/moment/pull/2955) Add parsing negative components in durations when ISO 8601

@ -58,7 +58,7 @@ var af = moment.defineLocale('af', {
y : '\'n jaar',
yy : '%d jaar'
},
ordinalParse: /\d{1,2}(ste|de)/,
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
ordinal : function (number) {
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
},

@ -0,0 +1,59 @@
//! moment.js locale configuration
//! locale : Arabic (Kuwait) [ar-kw]
//! author : Nusret Parlak: https://github.com/nusretparlak
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
var arKw = moment.defineLocale('ar-kw', {
months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
weekdaysParseExact : true,
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY HH:mm',
LLLL : 'dddd D MMMM YYYY HH:mm'
},
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 : 0, // Sunday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
}
});
return arKw;
})));

@ -84,7 +84,7 @@ var az = moment.defineLocale('az', {
return 'axşam';
}
},
ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
ordinal : function (number) {
if (number === 0) { // special case for zero
return number + '-ıncı';

@ -108,7 +108,7 @@ var be = moment.defineLocale('be', {
return 'вечара';
}
},
ordinalParse: /\d{1,2}-(і|ы|га)/,
dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
ordinal: function (number, period) {
switch (period) {
case 'M':

@ -59,7 +59,7 @@ var bg = moment.defineLocale('bg', {
y : 'година',
yy : '%d години'
},
ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
ordinal : function (number) {
var lastDigit = number % 10,
last2Digits = number % 100;

@ -92,7 +92,7 @@ var br = moment.defineLocale('br', {
y : 'ur bloaz',
yy : specialMutationForYears
},
ordinalParse: /\d{1,2}(añ|vet)/,
dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
ordinal : function (number) {
var output = (number === 1) ? 'añ' : 'vet';
return number + output;

@ -130,7 +130,7 @@ var bs = moment.defineLocale('bs', {
y : 'godinu',
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -11,8 +11,12 @@
var ca = moment.defineLocale('ca', {
months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'),
months : {
standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
format: 'de gener_de febrer_de març_d\'abril_de maig_de juny_de juliol_d\'agost_de setembre_d\'octubre_de novembre_de desembre'.split('_'),
isFormat: /D[oD]?(\s)+MMMM/
},
monthsShort : 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'),
monthsParseExact : true,
weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
@ -22,9 +26,12 @@ var ca = moment.defineLocale('ca', {
LT : 'H:mm',
LTS : 'H:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY H:mm',
LLLL : 'dddd D MMMM YYYY H:mm'
LL : '[el] D MMMM [de] YYYY',
ll : 'D MMM YYYY',
LLL : '[el] D MMMM [de] YYYY [a les] H:mm',
lll : 'D MMM YYYY, H:mm',
LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm',
llll : 'ddd D MMM YYYY, H:mm'
},
calendar : {
sameDay : function () {
@ -59,7 +66,7 @@ var ca = moment.defineLocale('ca', {
y : 'un any',
yy : '%d anys'
},
ordinalParse: /\d{1,2}(r|n|t|è|a)/,
dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
ordinal : function (number, period) {
var output = (number === 1) ? 'r' :
(number === 2) ? 'n' :

@ -159,7 +159,7 @@ var cs = moment.defineLocale('cs', {
y : translate,
yy : translate
},
ordinalParse : /\d{1,2}\./,
dayOfMonthOrdinalParse : /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -50,7 +50,7 @@ var cv = moment.defineLocale('cv', {
y : 'пӗр ҫул',
yy : '%d ҫул'
},
ordinalParse: /\d{1,2}-мӗш/,
dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
ordinal : '%d-мӗш',
week : {
dow : 1, // Monday is the first day of the week.

@ -50,7 +50,7 @@ var cy = moment.defineLocale('cy', {
y: 'blwyddyn',
yy: '%d flynedd'
},
ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
// traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
ordinal: function (number) {
var b = number,

@ -22,14 +22,14 @@ var da = moment.defineLocale('da', {
L : 'DD/MM/YYYY',
LL : 'D. MMMM YYYY',
LLL : 'D. MMMM YYYY HH:mm',
LLLL : 'dddd [d.] D. MMMM YYYY HH:mm'
LLLL : 'dddd [d.] D. MMMM YYYY [kl.] HH:mm'
},
calendar : {
sameDay : '[I dag kl.] LT',
nextDay : '[I morgen kl.] LT',
nextWeek : 'dddd [kl.] LT',
lastDay : '[I går kl.] LT',
lastWeek : '[sidste] dddd [kl] LT',
sameDay : '[i dag kl.] LT',
nextDay : '[i morgen kl.] LT',
nextWeek : 'dddd [kl.] LT',
lastDay : '[i går kl.] LT',
lastWeek : '[i] dddd[s kl.] LT',
sameElse : 'L'
},
relativeTime : {
@ -47,7 +47,7 @@ var da = moment.defineLocale('da', {
y : 'et år',
yy : '%d år'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -66,7 +66,7 @@ var deAt = moment.defineLocale('de-at', {
y : processRelativeTime,
yy : processRelativeTime
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -0,0 +1,78 @@
//! moment.js locale configuration
//! locale : German (Switzerland) [de-ch]
//! author : sschueller : https://github.com/sschueller
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de#
function processRelativeTime(number, withoutSuffix, key, isFuture) {
var format = {
'm': ['eine Minute', 'einer Minute'],
'h': ['eine Stunde', 'einer Stunde'],
'd': ['ein Tag', 'einem Tag'],
'dd': [number + ' Tage', number + ' Tagen'],
'M': ['ein Monat', 'einem Monat'],
'MM': [number + ' Monate', number + ' Monaten'],
'y': ['ein Jahr', 'einem Jahr'],
'yy': [number + ' Jahre', number + ' Jahren']
};
return withoutSuffix ? format[key][0] : format[key][1];
}
var deCh = moment.defineLocale('de-ch', {
months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'),
monthsParseExact : true,
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
weekdaysShort : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
weekdaysParseExact : true,
longDateFormat : {
LT: 'HH.mm',
LTS: 'HH.mm.ss',
L : 'DD.MM.YYYY',
LL : 'D. MMMM YYYY',
LLL : 'D. MMMM YYYY HH.mm',
LLLL : 'dddd, D. MMMM YYYY HH.mm'
},
calendar : {
sameDay: '[heute um] LT [Uhr]',
sameElse: 'L',
nextDay: '[morgen um] LT [Uhr]',
nextWeek: 'dddd [um] LT [Uhr]',
lastDay: '[gestern um] LT [Uhr]',
lastWeek: '[letzten] dddd [um] LT [Uhr]'
},
relativeTime : {
future : 'in %s',
past : 'vor %s',
s : 'ein paar Sekunden',
m : processRelativeTime,
mm : '%d Minuten',
h : processRelativeTime,
hh : '%d Stunden',
d : processRelativeTime,
dd : processRelativeTime,
M : processRelativeTime,
MM : processRelativeTime,
y : processRelativeTime,
yy : processRelativeTime
},
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});
return deCh;
})));

@ -65,7 +65,7 @@ var de = moment.defineLocale('de', {
y : processRelativeTime,
yy : processRelativeTime
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -18,7 +18,9 @@ var el = moment.defineLocale('el', {
monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
months : function (momentToFormat, format) {
if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
if (!momentToFormat) {
return this._monthsNominativeEl;
} else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
return this._monthsGenitiveEl[momentToFormat.month()];
} else {
return this._monthsNominativeEl[momentToFormat.month()];
@ -85,7 +87,7 @@ var el = moment.defineLocale('el', {
y : 'ένας χρόνος',
yy : '%d χρόνια'
},
ordinalParse: /\d{1,2}η/,
dayOfMonthOrdinalParse: /\d{1,2}η/,
ordinal: '%dη',
week : {
dow : 1, // Monday is the first day of the week.

@ -47,7 +47,7 @@ var enAu = moment.defineLocale('en-au', {
y : 'a year',
yy : '%d years'
},
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -47,7 +47,7 @@ var enCa = moment.defineLocale('en-ca', {
y : 'a year',
yy : '%d years'
},
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -47,7 +47,7 @@ var enGb = moment.defineLocale('en-gb', {
y : 'a year',
yy : '%d years'
},
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -47,7 +47,7 @@ var enIe = moment.defineLocale('en-ie', {
y : 'a year',
yy : '%d years'
},
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -47,7 +47,7 @@ var enNz = moment.defineLocale('en-nz', {
y : 'a year',
yy : '%d years'
},
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -1,8 +1,8 @@
//! moment.js locale configuration
//! locale : Esperanto [eo]
//! author : Colin Dean : https://github.com/colindean
//! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
//! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
//! comment : miestasmia corrected the translation by colindean
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
@ -15,16 +15,16 @@
var eo = moment.defineLocale('eo', {
months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'),
weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
weekdays : 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
weekdaysShort : 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'YYYY-MM-DD',
LL : 'D[-an de] MMMM, YYYY',
LLL : 'D[-an de] MMMM, YYYY HH:mm',
LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm'
LL : 'D[-a de] MMMM, YYYY',
LLL : 'D[-a de] MMMM, YYYY HH:mm',
LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'
},
meridiemParse: /[ap]\.t\.m/i,
isPM: function (input) {
@ -46,7 +46,7 @@ var eo = moment.defineLocale('eo', {
sameElse : 'L'
},
relativeTime : {
future : 'je %s',
future : 'post %s',
past : 'antaŭ %s',
s : 'sekundoj',
m : 'minuto',
@ -60,7 +60,7 @@ var eo = moment.defineLocale('eo', {
y : 'jaro',
yy : '%d jaroj'
},
ordinalParse: /\d{1,2}a/,
dayOfMonthOrdinalParse: /\d{1,2}a/,
ordinal : '%da',
week : {
dow : 1, // Monday is the first day of the week.

@ -15,7 +15,9 @@ var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
var esDo = moment.defineLocale('es-do', {
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
monthsShort : function (m, format) {
if (/-MMM-/.test(format)) {
if (!m) {
return monthsShortDot;
} else if (/-MMM-/.test(format)) {
return monthsShort[m.month()];
} else {
return monthsShortDot[m.month()];
@ -67,7 +69,7 @@ var esDo = moment.defineLocale('es-do', {
y : 'un año',
yy : '%d años'
},
ordinalParse : /\d{1,2}º/,
dayOfMonthOrdinalParse : /\d{1,2}º/,
ordinal : '%dº',
week : {
dow : 1, // Monday is the first day of the week.

@ -16,7 +16,9 @@ var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
var es = moment.defineLocale('es', {
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
monthsShort : function (m, format) {
if (/-MMM-/.test(format)) {
if (!m) {
return monthsShortDot;
} else if (/-MMM-/.test(format)) {
return monthsShort[m.month()];
} else {
return monthsShortDot[m.month()];
@ -68,7 +70,7 @@ var es = moment.defineLocale('es', {
y : 'un año',
yy : '%d años'
},
ordinalParse : /\d{1,2}º/,
dayOfMonthOrdinalParse : /\d{1,2}º/,
ordinal : '%dº',
week : {
dow : 1, // Monday is the first day of the week.

@ -67,7 +67,7 @@ var et = moment.defineLocale('et', {
y : processRelativeTime,
yy : processRelativeTime
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -53,7 +53,7 @@ var eu = moment.defineLocale('eu', {
y : 'urte bat',
yy : '%d urte'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -72,7 +72,7 @@ var fa = moment.defineLocale('fa', {
relativeTime : {
future : 'در %s',
past : '%s پیش',
s : 'چندین ثانیه',
s : 'چند ثانیه',
m : 'یک دقیقه',
mm : '%d دقیقه',
h : 'یک ساعت',
@ -94,7 +94,7 @@ var fa = moment.defineLocale('fa', {
return symbolMap[match];
}).replace(/,/g, '،');
},
ordinalParse: /\d{1,2}م/,
dayOfMonthOrdinalParse: /\d{1,2}م/,
ordinal : '%dم',
week : {
dow : 6, // Saturday is the first day of the week.

@ -94,7 +94,7 @@ var fi = moment.defineLocale('fi', {
y : translate,
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -47,7 +47,7 @@ var fo = moment.defineLocale('fo', {
y : 'eitt ár',
yy : '%d ár'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -27,12 +27,12 @@ var frCa = moment.defineLocale('fr-ca', {
LLLL : 'dddd D MMMM YYYY HH:mm'
},
calendar : {
sameDay: '[Aujourd\'hui à] LT',
nextDay: '[Demain à] LT',
nextWeek: 'dddd [à] LT',
lastDay: '[Hier à] LT',
lastWeek: 'dddd [dernier à] LT',
sameElse: 'L'
sameDay : '[Aujourdhui à] LT',
nextDay : '[Demain à] LT',
nextWeek : 'dddd [à] LT',
lastDay : '[Hier à] LT',
lastWeek : 'dddd [dernier à] LT',
sameElse : 'L'
},
relativeTime : {
future : 'dans %s',
@ -49,9 +49,23 @@ var frCa = moment.defineLocale('fr-ca', {
y : 'un an',
yy : '%d ans'
},
ordinalParse: /\d{1,2}(er|e)/,
ordinal : function (number) {
return number + (number === 1 ? 'er' : 'e');
dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
ordinal : function (number, period) {
switch (period) {
// Words with masculine grammatical gender: mois, trimestre, jour
default:
case 'M':
case 'Q':
case 'D':
case 'DDD':
case 'd':
return number + (number === 1 ? 'er' : 'e');
// Words with feminine grammatical gender: semaine
case 'w':
case 'W':
return number + (number === 1 ? 're' : 'e');
}
}
});

@ -27,12 +27,12 @@ var frCh = moment.defineLocale('fr-ch', {
LLLL : 'dddd D MMMM YYYY HH:mm'
},
calendar : {
sameDay: '[Aujourd\'hui à] LT',
nextDay: '[Demain à] LT',
nextWeek: 'dddd [à] LT',
lastDay: '[Hier à] LT',
lastWeek: 'dddd [dernier à] LT',
sameElse: 'L'
sameDay : '[Aujourdhui à] LT',
nextDay : '[Demain à] LT',
nextWeek : 'dddd [à] LT',
lastDay : '[Hier à] LT',
lastWeek : 'dddd [dernier à] LT',
sameElse : 'L'
},
relativeTime : {
future : 'dans %s',
@ -49,9 +49,23 @@ var frCh = moment.defineLocale('fr-ch', {
y : 'un an',
yy : '%d ans'
},
ordinalParse: /\d{1,2}(er|e)/,
ordinal : function (number) {
return number + (number === 1 ? 'er' : 'e');
dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
ordinal : function (number, period) {
switch (period) {
// Words with masculine grammatical gender: mois, trimestre, jour
default:
case 'M':
case 'Q':
case 'D':
case 'DDD':
case 'd':
return number + (number === 1 ? 'er' : 'e');
// Words with feminine grammatical gender: semaine
case 'w':
case 'W':
return number + (number === 1 ? 're' : 'e');
}
},
week : {
dow : 1, // Monday is the first day of the week.

@ -27,12 +27,12 @@ var fr = moment.defineLocale('fr', {
LLLL : 'dddd D MMMM YYYY HH:mm'
},
calendar : {
sameDay: '[Aujourd\'hui à] LT',
nextDay: '[Demain à] LT',
nextWeek: 'dddd [à] LT',
lastDay: '[Hier à] LT',
lastWeek: 'dddd [dernier à] LT',
sameElse: 'L'
sameDay : '[Aujourdhui à] LT',
nextDay : '[Demain à] LT',
nextWeek : 'dddd [à] LT',
lastDay : '[Hier à] LT',
lastWeek : 'dddd [dernier à] LT',
sameElse : 'L'
},
relativeTime : {
future : 'dans %s',
@ -49,9 +49,28 @@ var fr = moment.defineLocale('fr', {
y : 'un an',
yy : '%d ans'
},
ordinalParse: /\d{1,2}(er|)/,
ordinal : function (number) {
return number + (number === 1 ? 'er' : '');
dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
ordinal : function (number, period) {
switch (period) {
// TODO: Return 'e' when day of month > 1. Move this case inside
// block for masculine words below.
// See https://github.com/moment/moment/issues/3375
case 'D':
return number + (number === 1 ? 'er' : '');
// Words with masculine grammatical gender: mois, trimestre, jour
default:
case 'M':
case 'Q':
case 'DDD':
case 'd':
return number + (number === 1 ? 'er' : 'e');
// Words with feminine grammatical gender: semaine
case 'w':
case 'W':
return number + (number === 1 ? 're' : 'e');
}
},
week : {
dow : 1, // Monday is the first day of the week.

@ -16,7 +16,9 @@ var monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.s
var fy = moment.defineLocale('fy', {
months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
monthsShort : function (m, format) {
if (/-MMM-/.test(format)) {
if (!m) {
return monthsShortWithDots;
} else if (/-MMM-/.test(format)) {
return monthsShortWithoutDots[m.month()];
} else {
return monthsShortWithDots[m.month()];
@ -58,7 +60,7 @@ var fy = moment.defineLocale('fy', {
y : 'ien jier',
yy : '%d jierren'
},
ordinalParse: /\d{1,2}(ste|de)/,
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
ordinal : function (number) {
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
},

@ -60,7 +60,7 @@ var gd = moment.defineLocale('gd', {
y : 'bliadhna',
yy : '%d bliadhna'
},
ordinalParse : /\d{1,2}(d|na|mh)/,
dayOfMonthOrdinalParse : /\d{1,2}(d|na|mh)/,
ordinal : function (number) {
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
return number + output;

@ -64,7 +64,7 @@ var gl = moment.defineLocale('gl', {
y : 'un ano',
yy : '%d anos'
},
ordinalParse : /\d{1,2}º/,
dayOfMonthOrdinalParse : /\d{1,2}º/,
ordinal : '%dº',
week : {
dow : 1, // Monday is the first day of the week.

@ -0,0 +1,122 @@
//! moment.js locale configuration
//! locale : Konkani Latin script [gom-latn]
//! author : The Discoverer : https://github.com/WikiDiscoverer
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
function processRelativeTime(number, withoutSuffix, key, isFuture) {
var format = {
's': ['thodde secondanim', 'thodde second'],
'm': ['eka mintan', 'ek minute'],
'mm': [number + ' mintanim', number + ' mintam'],
'h': ['eka horan', 'ek hor'],
'hh': [number + ' horanim', number + ' hor'],
'd': ['eka disan', 'ek dis'],
'dd': [number + ' disanim', number + ' dis'],
'M': ['eka mhoinean', 'ek mhoino'],
'MM': [number + ' mhoineanim', number + ' mhoine'],
'y': ['eka vorsan', 'ek voros'],
'yy': [number + ' vorsanim', number + ' vorsam']
};
return withoutSuffix ? format[key][0] : format[key][1];
}
var gomLatn = moment.defineLocale('gom-latn', {
months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),
monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
monthsParseExact : true,
weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\'var'.split('_'),
weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
weekdaysParseExact : true,
longDateFormat : {
LT : 'A h:mm [vazta]',
LTS : 'A h:mm:ss [vazta]',
L : 'DD-MM-YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY A h:mm [vazta]',
LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',
llll: 'ddd, D MMM YYYY, A h:mm [vazta]'
},
calendar : {
sameDay: '[Aiz] LT',
nextDay: '[Faleam] LT',
nextWeek: '[Ieta to] dddd[,] LT',
lastDay: '[Kal] LT',
lastWeek: '[Fatlo] dddd[,] LT',
sameElse: 'L'
},
relativeTime : {
future : '%s',
past : '%s adim',
s : processRelativeTime,
m : processRelativeTime,
mm : processRelativeTime,
h : processRelativeTime,
hh : processRelativeTime,
d : processRelativeTime,
dd : processRelativeTime,
M : processRelativeTime,
MM : processRelativeTime,
y : processRelativeTime,
yy : processRelativeTime
},
dayOfMonthOrdinalParse : /\d{1,2}(er)/,
ordinal : function (number, period) {
switch (period) {
// the ordinal 'er' only applies to day of the month
case 'D':
return number + 'er';
default:
case 'M':
case 'Q':
case 'DDD':
case 'd':
case 'w':
case 'W':
return number;
}
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 4 // The week that contains Jan 4th is the first week of the year.
},
meridiemParse: /rati|sokalli|donparam|sanje/,
meridiemHour : function (hour, meridiem) {
if (hour === 12) {
hour = 0;
}
if (meridiem === 'rati') {
return hour < 4 ? hour : hour + 12;
} else if (meridiem === 'sokalli') {
return hour;
} else if (meridiem === 'donparam') {
return hour > 12 ? hour : hour + 12;
} else if (meridiem === 'sanje') {
return hour + 12;
}
},
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'rati';
} else if (hour < 12) {
return 'sokalli';
} else if (hour < 16) {
return 'donparam';
} else if (hour < 20) {
return 'sanje';
} else {
return 'rati';
}
}
});
return gomLatn;
})));

@ -132,7 +132,7 @@ var hr = moment.defineLocale('hr', {
y : 'godinu',
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -96,7 +96,7 @@ var hu = moment.defineLocale('hu', {
y : translate,
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -69,7 +69,7 @@ var hyAm = moment.defineLocale('hy-am', {
return 'երեկոյան';
}
},
ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
ordinal: function (number, period) {
switch (period) {
case 'DDD':

@ -114,7 +114,7 @@ var is = moment.defineLocale('is', {
y : translate,
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -14,9 +14,9 @@
var it = moment.defineLocale('it', {
months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.split('_'),
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
@ -57,7 +57,7 @@ var it = moment.defineLocale('it', {
y : 'un anno',
yy : '%d anni'
},
ordinalParse : /\d{1,2}º/,
dayOfMonthOrdinalParse : /\d{1,2}º/,
ordinal: '%dº',
week : {
dow : 1, // Monday is the first day of the week.

@ -17,12 +17,16 @@ var ja = moment.defineLocale('ja', {
weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
longDateFormat : {
LT : 'Ah時m分',
LTS : 'Ah時m分s秒',
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'YYYY/MM/DD',
LL : 'YYYY年M月D日',
LLL : 'YYYY年M月D日Ah時m分',
LLLL : 'YYYY年M月D日Ah時m分 dddd'
LLL : 'YYYY年M月D日 HH:mm',
LLLL : 'YYYY年M月D日 HH:mm dddd',
l : 'YYYY/MM/DD',
ll : 'YYYY年M月D日',
lll : 'YYYY年M月D日 HH:mm',
llll : 'YYYY年M月D日 HH:mm dddd'
},
meridiemParse: /午前|午後/i,
isPM : function (input) {
@ -43,7 +47,7 @@ var ja = moment.defineLocale('ja', {
lastWeek : '[前週]dddd LT',
sameElse : 'L'
},
ordinalParse : /\d{1,2}日/,
dayOfMonthOrdinalParse : /\d{1,2}日/,
ordinal : function (number, period) {
switch (period) {
case 'd':

@ -47,10 +47,10 @@ var ka = moment.defineLocale('ka', {
},
past : function (s) {
if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
return s.replace(/(ი|ე)$/, 'ის წინ');
return s.replace(/(ი|ე)$/, 'ის უკან');
}
if ((/წელი/).test(s)) {
return s.replace(/წელი$/, 'წლის წინ');
return s.replace(/წელი$/, 'წლის უკან');
}
},
s : 'რამდენიმე წამი',
@ -65,7 +65,7 @@ var ka = moment.defineLocale('ka', {
y : 'წელი',
yy : '%d წელი'
},
ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
ordinal : function (number) {
if (number === 0) {
return number;

@ -70,7 +70,7 @@ var kk = moment.defineLocale('kk', {
y : 'бір жыл',
yy : '%d жыл'
},
ordinalParse: /\d{1,2}-(ші|шы)/,
dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
ordinal : function (number) {
var a = number % 10,
b = number >= 100 ? 100 : null;

@ -0,0 +1,126 @@
//! moment.js locale configuration
//! locale : Kannada [kn]
//! author : Rajeev Naik : https://github.com/rajeevnaikte
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
var symbolMap = {
'1': '೧',
'2': '೨',
'3': '೩',
'4': '೪',
'5': '೫',
'6': '೬',
'7': '೭',
'8': '೮',
'9': '೯',
'0': '೦'
};
var numberMap = {
'೧': '1',
'೨': '2',
'೩': '3',
'೪': '4',
'೫': '5',
'೬': '6',
'೭': '7',
'೮': '8',
'೯': '9',
'೦': '0'
};
var kn = moment.defineLocale('kn', {
months : 'ಜನವರಿ_ಫರವರಿ_ಮ_ಏಪಿ_ಮ_ಜ_ಜ_ಆಗಸ_ಸಬರ_ಅಕಬರ_ನವಬರ_ಡಿಬರ'.split('_'),
monthsShort : 'ಜನ_ಫರ_ಮ_ಏಪಿ_ಮ_ಜ_ಜ_ಆಗಸ_ಸಬ_ಅಕಬ_ನವಬ_ಡಿಬ'.split('_'),
monthsParseExact: true,
weekdays : 'ಭರ_ಸಮವರ_ಮಗಳವರ_ಬಧವರ_ಗರ_ಶರವರ_ಶನಿರ'.split('_'),
weekdaysShort : 'ಭ_ಸಮ_ಮಗಳ_ಬಧ_ಗ_ಶರ_ಶನಿ'.split('_'),
weekdaysMin : 'ಭ_ಸ_ಮ_ಬ_ಗ_ಶ_ಶ'.split('_'),
longDateFormat : {
LT : 'A h:mm',
LTS : 'A h:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY, A h:mm',
LLLL : 'dddd, D MMMM YYYY, A h:mm'
},
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 ವರಷ'
},
preparse: function (string) {
return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
return numberMap[match];
});
},
postformat: function (string) {
return string.replace(/\d/g, function (match) {
return symbolMap[match];
});
},
meridiemParse: /ರಿ|ಬಿ|ಮಧನ|ಸ/,
meridiemHour : function (hour, meridiem) {
if (hour === 12) {
hour = 0;
}
if (meridiem === 'ರಿ') {
return hour < 4 ? hour : hour + 12;
} else if (meridiem === 'ಬಿ') {
return hour;
} else if (meridiem === 'ಮಧನ') {
return hour >= 10 ? hour : hour + 12;
} else if (meridiem === 'ಸ') {
return hour + 12;
}
},
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'ರಿ';
} else if (hour < 10) {
return 'ಬಿ';
} else if (hour < 17) {
return 'ಮಧನ';
} else if (hour < 20) {
return 'ಸ';
} else {
return 'ರಿ';
}
},
dayOfMonthOrdinalParse: /\d{1,2}(ನ)/,
ordinal : function (number) {
return number + 'ನ';
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
}
});
return kn;
})));

@ -18,12 +18,16 @@ var ko = moment.defineLocale('ko', {
weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
longDateFormat : {
LT : 'A h시 m분',
LTS : 'A h시 m분 s초',
LT : 'A h:mm',
LTS : 'A h:mm:ss',
L : 'YYYY.MM.DD',
LL : 'YYYY년 MMMM D일',
LLL : 'YYYY년 MMMM D일 A h시 m분',
LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
LLL : 'YYYY년 MMMM D일 A h:mm',
LLLL : 'YYYY년 MMMM D일 dddd A h:mm',
l : 'YYYY.MM.DD',
ll : 'YYYY년 MMMM D일',
lll : 'YYYY년 MMMM D일 A h:mm',
llll : 'YYYY년 MMMM D일 dddd A h:mm'
},
calendar : {
sameDay : '오늘 LT',
@ -38,7 +42,7 @@ var ko = moment.defineLocale('ko', {
past : '%s 전',
s : '몇 초',
ss : '%d초',
m : '분',
m : '1분',
mm : '%d분',
h : '한 시간',
hh : '%d시간',
@ -49,7 +53,7 @@ var ko = moment.defineLocale('ko', {
y : '일 년',
yy : '%d년'
},
ordinalParse : /\d{1,2}일/,
dayOfMonthOrdinalParse : /\d{1,2}일/,
ordinal : '%d일',
meridiemParse : /오전|오후/,
isPM : function (token) {

@ -71,7 +71,7 @@ var ky = moment.defineLocale('ky', {
y : 'бир жыл',
yy : '%d жыл'
},
ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
ordinal : function (number) {
var a = number % 10,
b = number >= 100 ? 100 : null;

@ -124,7 +124,7 @@ var lb = moment.defineLocale('lb', {
y : processRelativeTime,
yy : '%d Joer'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal: '%d.',
week: {
dow: 1, // Monday is the first day of the week.

@ -59,7 +59,7 @@ var lo = moment.defineLocale('lo', {
y : '1 ປ',
yy : '%d ປ'
},
ordinalParse: /(ທ)\d{1,2}/,
dayOfMonthOrdinalParse: /(ທ)\d{1,2}/,
ordinal : function (number) {
return 'ທ' + number;
}

@ -102,7 +102,7 @@ var lt = moment.defineLocale('lt', {
y : translateSingular,
yy : translate
},
ordinalParse: /\d{1,2}-oji/,
dayOfMonthOrdinalParse: /\d{1,2}-oji/,
ordinal : function (number) {
return number + '-oji';
},

@ -84,7 +84,7 @@ var lv = moment.defineLocale('lv', {
y : relativeTimeWithSingular,
yy : relativeTimeWithPlural
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -98,7 +98,7 @@ var me = moment.defineLocale('me', {
y : 'godinu',
yy : translator.translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -51,7 +51,7 @@ var mi = moment.defineLocale('mi', {
y: 'he tau',
yy: '%d tau'
},
ordinalParse: /\d{1,2}º/,
dayOfMonthOrdinalParse: /\d{1,2}º/,
ordinal: '%dº',
week : {
dow : 1, // Monday is the first day of the week.

@ -59,7 +59,7 @@ var mk = moment.defineLocale('mk', {
y : 'година',
yy : '%d години'
},
ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
ordinal : function (number) {
var lastDigit = number % 10,
last2Digits = number % 100;

@ -50,7 +50,7 @@ var nb = moment.defineLocale('nb', {
y : 'ett år',
yy : '%d år'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -20,7 +20,9 @@ var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|sep
var nlBe = moment.defineLocale('nl-be', {
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
monthsShort : function (m, format) {
if (/-MMM-/.test(format)) {
if (!m) {
return monthsShortWithDots;
} else if (/-MMM-/.test(format)) {
return monthsShortWithoutDots[m.month()];
} else {
return monthsShortWithDots[m.month()];
@ -71,7 +73,7 @@ var nlBe = moment.defineLocale('nl-be', {
y : 'één jaar',
yy : '%d jaar'
},
ordinalParse: /\d{1,2}(ste|de)/,
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
ordinal : function (number) {
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
},

@ -20,7 +20,9 @@ var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|sep
var nl = moment.defineLocale('nl', {
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
monthsShort : function (m, format) {
if (/-MMM-/.test(format)) {
if (!m) {
return monthsShortWithDots;
} else if (/-MMM-/.test(format)) {
return monthsShortWithoutDots[m.month()];
} else {
return monthsShortWithDots[m.month()];
@ -71,7 +73,7 @@ var nl = moment.defineLocale('nl', {
y : 'één jaar',
yy : '%d jaar'
},
ordinalParse: /\d{1,2}(ste|de)/,
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
ordinal : function (number) {
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
},

@ -47,7 +47,7 @@ var nn = moment.defineLocale('nn', {
y : 'eit år',
yy : '%d år'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -35,7 +35,9 @@ function translate(number, withoutSuffix, key) {
var pl = moment.defineLocale('pl', {
months : function (momentToFormat, format) {
if (format === '') {
if (!momentToFormat) {
return monthsNominative;
} else if (format === '') {
// Hack: if format empty we know this is used to generate
// RegExp by moment. Give then back both valid forms of months
// in RegExp ready format.
@ -92,7 +94,7 @@ var pl = moment.defineLocale('pl', {
y : 'rok',
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -15,7 +15,7 @@ var ptBr = moment.defineLocale('pt-br', {
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
weekdaysParseExact : true,
longDateFormat : {
LT : 'HH:mm',
@ -52,7 +52,7 @@ var ptBr = moment.defineLocale('pt-br', {
y : 'um ano',
yy : '%d anos'
},
ordinalParse: /\d{1,2}º/,
dayOfMonthOrdinalParse: /\d{1,2}º/,
ordinal : '%dº'
});

@ -15,7 +15,7 @@ var pt = moment.defineLocale('pt', {
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'),
weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
weekdaysParseExact : true,
longDateFormat : {
LT : 'HH:mm',
@ -52,7 +52,7 @@ var pt = moment.defineLocale('pt', {
y : 'um ano',
yy : '%d anos'
},
ordinalParse: /\d{1,2}º/,
dayOfMonthOrdinalParse: /\d{1,2}º/,
ordinal : '%dº',
week : {
dow : 1, // Monday is the first day of the week.

@ -156,7 +156,7 @@ var ru = moment.defineLocale('ru', {
return 'вечера';
}
},
ordinalParse: /\d{1,2}-(й|го|я)/,
dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
ordinal: function (number, period) {
switch (period) {
case 'M':

@ -0,0 +1,98 @@
//! moment.js locale configuration
//! locale : Sindhi [sd]
//! author : Narain Sagar : https://github.com/narainsagar
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
var months = [
'جنوري',
'فيبروري',
'مارچ',
'اپريل',
'مئي',
'جون',
'جولاءِ',
'آگسٽ',
'سيپٽمبر',
'آڪٽوبر',
'نومبر',
'ڊسمبر'
];
var days = [
'آچر',
'سومر',
'اڱارو',
'اربع',
'خميس',
'جمع',
'ڇنڇر'
];
var sd = moment.defineLocale('sd', {
months : months,
monthsShort : months,
weekdays : days,
weekdaysShort : days,
weekdaysMin : days,
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY HH:mm',
LLLL : 'dddd، D MMMM YYYY HH:mm'
},
meridiemParse: /صبح|شام/,
isPM : function (input) {
return 'شام' === input;
},
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return 'صبح';
}
return 'شام';
},
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 سال'
},
preparse: function (string) {
return string.replace(/،/g, ',');
},
postformat: function (string) {
return string.replace(/,/g, '،');
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});
return sd;
})));

@ -48,7 +48,7 @@ var se = moment.defineLocale('se', {
y : 'okta jahki',
yy : '%d jagit'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -49,7 +49,7 @@ var si = moment.defineLocale('si', {
y : 'වසර',
yy : 'වසර %d'
},
ordinalParse: /\d{1,2} ව/,
dayOfMonthOrdinalParse: /\d{1,2} ව/,
ordinal : function (number) {
return number + ' ව';
},

@ -137,7 +137,7 @@ var sk = moment.defineLocale('sk', {
y : translate,
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -149,7 +149,7 @@ var sl = moment.defineLocale('sl', {
y : processRelativeTime,
yy : processRelativeTime
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -57,7 +57,7 @@ var sq = moment.defineLocale('sq', {
y : 'një vit',
yy : '%d vite'
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -97,7 +97,7 @@ var srCyrl = moment.defineLocale('sr-cyrl', {
y : 'годину',
yy : translator.translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -97,7 +97,7 @@ var sr = moment.defineLocale('sr', {
y : 'godinu',
yy : translator.translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -76,7 +76,7 @@ var ss = moment.defineLocale('ss', {
return hour + 12;
}
},
ordinalParse: /\d{1,2}/,
dayOfMonthOrdinalParse: /\d{1,2}/,
ordinal : '%d',
week : {
dow : 1, // Monday is the first day of the week.

@ -49,7 +49,7 @@ var sv = moment.defineLocale('sv', {
y : 'ett år',
yy : '%d år'
},
ordinalParse: /\d{1,2}(e|a)/,
dayOfMonthOrdinalParse: /\d{1,2}(e|a)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'e' :

@ -72,7 +72,7 @@ var ta = moment.defineLocale('ta', {
y : 'ஒர வரடம',
yy : '%d ஆணகள'
},
ordinalParse: /\d{1,2}வத/,
dayOfMonthOrdinalParse: /\d{1,2}வத/,
ordinal : function (number) {
return number + 'வத';
},

@ -48,7 +48,7 @@ var te = moment.defineLocale('te', {
y : 'ఒక సవతసర',
yy : '%d సవతసర'
},
ordinalParse : /\d{1,2}వ/,
dayOfMonthOrdinalParse : /\d{1,2}వ/,
ordinal : '%dవ',
meridiemParse: /రి|ఉదయ|మధ|స/,
meridiemHour : function (hour, meridiem) {

@ -48,7 +48,7 @@ var tet = moment.defineLocale('tet', {
y : 'tinan ida',
yy : 'tinan %d'
},
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -21,7 +21,7 @@ var th = moment.defineLocale('th', {
longDateFormat : {
LT : 'H:mm',
LTS : 'H:mm:ss',
L : 'YYYY/MM/DD',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY เวลา H:mm',
LLLL : 'วนddddท D MMMM YYYY เวลา H:mm'

@ -47,7 +47,7 @@ var tlPh = moment.defineLocale('tl-ph', {
y : 'isang taon',
yy : '%d taon'
},
ordinalParse: /\d{1,2}/,
dayOfMonthOrdinalParse: /\d{1,2}/,
ordinal : function (number) {
return number;
},

@ -107,7 +107,7 @@ var tlh = moment.defineLocale('tlh', {
y : 'wa’ DIS',
yy : translate
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -69,7 +69,7 @@ var tr = moment.defineLocale('tr', {
y : 'bir yıl',
yy : '%d yıl'
},
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
dayOfMonthOrdinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
ordinal : function (number) {
if (number === 0) { // special case for zero
return number + '\'ıncı';

@ -61,7 +61,7 @@ var tzl = moment.defineLocale('tzl', {
y : processRelativeTime,
yy : processRelativeTime
},
ordinalParse: /\d{1,2}\./,
dayOfMonthOrdinalParse: /\d{1,2}\./,
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.

@ -38,8 +38,13 @@ function weekdaysCaseReplace(m, format) {
'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
},
nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
};
if (!m) {
return weekdays['nominative'];
}
var nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
'accusative' :
((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ?
'genitive' :
@ -120,7 +125,7 @@ var uk = moment.defineLocale('uk', {
return 'вечора';
}
},
ordinalParse: /\d{1,2}-(й|го)/,
dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
ordinal: function (number, period) {
switch (period) {
case 'M':

@ -0,0 +1,99 @@
//! moment.js locale configuration
//! locale : Urdu [ur]
//! author : Sawood Alam : https://github.com/ibnesayeed
//! author : Zack : https://github.com/ZackVision
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
var months = [
'جنوری',
'فروری',
'مارچ',
'اپریل',
'مئی',
'جون',
'جولائی',
'اگست',
'ستمبر',
'اکتوبر',
'نومبر',
'دسمبر'
];
var days = [
'اتوار',
'پیر',
'منگل',
'بدھ',
'جمعرات',
'جمعہ',
'ہفتہ'
];
var ur = moment.defineLocale('ur', {
months : months,
monthsShort : months,
weekdays : days,
weekdaysShort : days,
weekdaysMin : days,
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY HH:mm',
LLLL : 'dddd، D MMMM YYYY HH:mm'
},
meridiemParse: /صبح|شام/,
isPM : function (input) {
return 'شام' === input;
},
meridiem : function (hour, minute, isLower) {
if (hour < 12) {
return 'صبح';
}
return 'شام';
},
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 سال'
},
preparse: function (string) {
return string.replace(/،/g, ',');
},
postformat: function (string) {
return string.replace(/,/g, '،');
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});
return ur;
})));

@ -0,0 +1,58 @@
//! moment.js locale configuration
//! locale : Uzbek Latin [uz-latn]
//! author : Rasulbek Mirzayev : github.com/Rasulbeeek
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
var uzLatn = moment.defineLocale('uz-latn', {
months : 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'),
monthsShort : 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
weekdays : 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'),
weekdaysShort : 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
weekdaysMin : 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY HH:mm',
LLLL : 'D MMMM YYYY, dddd HH:mm'
},
calendar : {
sameDay : '[Bugun soat] LT [da]',
nextDay : '[Ertaga] LT [da]',
nextWeek : 'dddd [kuni soat] LT [da]',
lastDay : '[Kecha soat] LT [da]',
lastWeek : '[O\'tgan] dddd [kuni soat] LT [da]',
sameElse : 'L'
},
relativeTime : {
future : 'Yaqin %s ichida',
past : 'Bir necha %s oldin',
s : 'soniya',
m : 'bir daqiqa',
mm : '%d daqiqa',
h : 'bir soat',
hh : '%d soat',
d : 'bir kun',
dd : '%d kun',
M : 'bir oy',
MM : '%d oy',
y : 'bir yil',
yy : '%d yil'
},
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.
}
});
return uzLatn;
})));

@ -64,7 +64,7 @@ var vi = moment.defineLocale('vi', {
y : 'một năm',
yy : '%d năm'
},
ordinalParse: /\d{1,2}/,
dayOfMonthOrdinalParse: /\d{1,2}/,
ordinal : function (number) {
return number;
},

@ -48,7 +48,7 @@ var xPseudo = moment.defineLocale('x-pseudo', {
y : 'á ~ýéár',
yy : '%d ý~éárs'
},
ordinalParse: /\d{1,2}(th|st|nd|rd)/,
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
ordinal : function (number) {
var b = number % 10,
output = (~~(number % 100 / 10) === 1) ? 'th' :

@ -47,7 +47,7 @@ var yo = moment.defineLocale('yo', {
y : 'ọdún kan',
yy : 'ọdún %d'
},
ordinalParse : /ọjọ́\s\d{1,2}/,
dayOfMonthOrdinalParse : /ọjọ́\s\d{1,2}/,
ordinal : 'ọjọ́ %d',
week : {
dow : 1, // Monday is the first day of the week.

@ -18,16 +18,16 @@ var zhCn = moment.defineLocale('zh-cn', {
weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'),
weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
longDateFormat : {
LT : 'Ah点mm分',
LTS : 'Ah点m分s秒',
L : 'YYYY-MM-DD',
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'YYYY年MMMD日',
LL : 'YYYY年MMMD日',
LLL : 'YYYY年MMMD日Ah点mm分',
LLLL : 'YYYY年MMMD日ddddAh点mm分',
l : 'YYYY-MM-DD',
l : 'YYYY年MMMD日',
ll : 'YYYY年MMMD日',
lll : 'YYYY年MMMD日Ah点mm分',
llll : 'YYYY年MMMD日ddddAh点mm分'
lll : 'YYYY年MMMD日 HH:mm',
llll : 'YYYY年MMMD日dddd HH:mm'
},
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
meridiemHour: function (hour, meridiem) {
@ -61,30 +61,14 @@ var zhCn = moment.defineLocale('zh-cn', {
}
},
calendar : {
sameDay : function () {
return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT';
},
nextDay : function () {
return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT';
},
lastDay : function () {
return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT';
},
nextWeek : function () {
var startOfWeek, prefix;
startOfWeek = moment().startOf('week');
prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]';
return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
},
lastWeek : function () {
var startOfWeek, prefix;
startOfWeek = moment().startOf('week');
prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]';
return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
},
sameElse : 'LL'
sameDay : '[今天]LT',
nextDay : '[明天]LT',
nextWeek : '[下]ddddLT',
lastDay : '[昨天]LT',
lastWeek : '[上]ddddLT',
sameElse : 'L'
},
ordinalParse: /\d{1,2}(日|月|周)/,
dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
ordinal : function (number, period) {
switch (period) {
case 'd':

@ -19,16 +19,16 @@ var zhHk = moment.defineLocale('zh-hk', {
weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'),
weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
longDateFormat : {
LT : 'Ah點mm分',
LTS : 'Ah點m分s秒',
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'YYYY年MMMD日',
LL : 'YYYY年MMMD日',
LLL : 'YYYY年MMMD日Ah點mm分',
LLLL : 'YYYY年MMMD日ddddAh點mm分',
LLL : 'YYYY年MMMD日 HH:mm',
LLLL : 'YYYY年MMMD日dddd HH:mm',
l : 'YYYY年MMMD日',
ll : 'YYYY年MMMD日',
lll : 'YYYY年MMMD日Ah點mm分',
llll : 'YYYY年MMMD日ddddAh點mm分'
lll : 'YYYY年MMMD日 HH:mm',
llll : 'YYYY年MMMD日dddd HH:mm'
},
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
meridiemHour : function (hour, meridiem) {
@ -67,7 +67,7 @@ var zhHk = moment.defineLocale('zh-hk', {
lastWeek : '[上]ddddLT',
sameElse : 'L'
},
ordinalParse: /\d{1,2}(日|月|週)/,
dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
ordinal : function (number, period) {
switch (period) {
case 'd' :

@ -18,16 +18,16 @@ var zhTw = moment.defineLocale('zh-tw', {
weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'),
weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
longDateFormat : {
LT : 'Ah點mm分',
LTS : 'Ah點m分s秒',
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'YYYY年MMMD日',
LL : 'YYYY年MMMD日',
LLL : 'YYYY年MMMD日Ah點mm分',
LLLL : 'YYYY年MMMD日ddddAh點mm分',
LLL : 'YYYY年MMMD日 HH:mm',
LLLL : 'YYYY年MMMD日dddd HH:mm',
l : 'YYYY年MMMD日',
ll : 'YYYY年MMMD日',
lll : 'YYYY年MMMD日Ah點mm分',
llll : 'YYYY年MMMD日ddddAh點mm分'
lll : 'YYYY年MMMD日 HH:mm',
llll : 'YYYY年MMMD日dddd HH:mm'
},
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
meridiemHour : function (hour, meridiem) {
@ -66,7 +66,7 @@ var zhTw = moment.defineLocale('zh-tw', {
lastWeek : '[上]ddddLT',
sameElse : 'L'
},
ordinalParse: /\d{1,2}(日|月|週)/,
dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
ordinal : function (number, period) {
switch (period) {
case 'd' :

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save