aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/moment/locale/es.js
diff options
context:
space:
mode:
authorpaladox <thomasmulhall410@yahoo.com>2014-11-20 18:58:28 +0000
committerTimo Tijhof <krinklemail@gmail.com>2015-01-09 19:49:46 +0000
commitf3f1498f8084993bdd9a0311b82a8df3fa3e0e98 (patch)
tree1520fe07e5e98d7b87ac09c81678da1fb58a26b0 /resources/lib/moment/locale/es.js
parent364ed8c1beb336e81c6e5534bd433dce801071f5 (diff)
downloadmediawikicore-f3f1498f8084993bdd9a0311b82a8df3fa3e0e98.tar.gz
mediawikicore-f3f1498f8084993bdd9a0311b82a8df3fa3e0e98.zip
Update Moment.js from 2.8.3 to 2.8.4
Project site * http://momentjs.com * https://github.com/moment/moment/ File source * https://github.com/moment/moment/tree/2.8.4 Changelog * https://github.com/moment/moment/blob/2.8.4/CHANGELOG.md Difference between 2.8.3 and 2.8.4 2.8.4 Features * #2000 Add LTS localised format that includes seconds * #1960 added formatToken 'x' for unix offset in milliseconds #1938 * #1965 Support 24:00:00.000 to mean next day, at midnight. * #2002 Accept 'date' key when creating moment with object * #2009 Use native toISOString when we can Bugfixes * #2004 Fix makeAs to work with zoned moments * #2001 moment.utc(string) falling back to Date works properly * #1928 IE11 module == null * #1952 New implementation of isBefore/isSame/isAfter * #1992 Fix strict month parsing of abbreviated/full months * #2003 Detect hours above 12 with h/hh tokens * #1974 Locale export for meteor server environment * #1925 Fix duration as getters (years and months convert to whole days) * #2008 Fix endOf handling of no-arg and ms * #2010 Update deprecation warning for moment().lang() Locale improvements * #2015 remove Uhr from german format * #1933 improved russian lastWeek translations * #2013 changed month abbreviations in russian * #1971 Fix italian calendar time * #1967 Fix catalan ordinals * #1898 Bosnian translation of August * #1771 Update greek seconds string * #1961 Add a script to prepare moment for npm publish * #2016 Fix long date format for Czech Change-Id: I136a08194476ac01af7495c8f8e1e7ea1e140973
Diffstat (limited to 'resources/lib/moment/locale/es.js')
-rw-r--r--resources/lib/moment/locale/es.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/lib/moment/locale/es.js b/resources/lib/moment/locale/es.js
index 04b83a80c8bb..b6e30b1092c9 100644
--- a/resources/lib/moment/locale/es.js
+++ b/resources/lib/moment/locale/es.js
@@ -8,7 +8,7 @@
} else if (typeof exports === 'object') {
module.exports = factory(require('../moment')); // Node
} else {
- factory(window.moment); // Browser global
+ factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
}
}(function (moment) {
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
@@ -28,6 +28,7 @@
weekdaysMin : 'Do_Lu_Ma_Mi_Ju_Vi_Sá'.split('_'),
longDateFormat : {
LT : 'H:mm',
+ LTS : 'LT:ss',
L : 'DD/MM/YYYY',
LL : 'D [de] MMMM [de] YYYY',
LLL : 'D [de] MMMM [de] YYYY LT',
@@ -66,6 +67,7 @@
y : 'un año',
yy : '%d años'
},
+ ordinalParse : /\d{1,2}º/,
ordinal : '%dº',
week : {
dow : 1, // Monday is the first day of the week.