aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/moment/locale
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade moment from v2.25.2 to v2.30.1James D. Forrester2025-04-06111-837/+1916
| | | | | | | | | | Five new locales, two of which map to supported languages in core (ku-kmr -> ku, and tk -> tk), and three of which don't but are added in for future support and for languages that might be configured in production systems (ar-ps, bn-bd, and es-mx). Bug: T389416 Change-Id: Ic69ddf92f922515bf36a2ea1770b2c8ebd2c46b2
* resources: Make foreign-resources.yaml pass its own 'verify' testTimo Tijhof2022-08-311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following failures: * intersection-observer: Partial undo of 803b873beb, local docs-only change to vendor files. * jquery.i18n: - jquery.i18n.messagestore.js: Partial undo 7a4df9b0 (I83bbbb150), comment change to vendor file. - jquery.i18n.fallbacks.js: This was changed locally in 6839b8599 (I666fbdea8) in July and upstreamed by @Reedy in https://github.com/wikimedia/jquery.i18n/pull/243. Since there is only one other patch upstream, a cosmetic one, since 1.0.7, I've changed it to an unreleased commit hash upstream so that at least the registration roundtrips cleanly. We can update to the proper release when we're ready for that (there's something to figure out w.r.t plural rule parsing). * moment: Rename en-sg.js to match package. * jquery.cookie: Recognise this as the fork that it is. Comment-out for now to exclude it from validation since it can't pass. We should probably just move this to src/ and embed it within mw.cookie or something. Bug: T203694 Change-Id: Ie705070c695e5e4ab95b51ceb434a0eadfa0f733
* resources: Upgrade moment from 2.24.0 to 2.25.2; hook in gom-deva & zh-moJames D. Forrester2020-05-12132-5644/+7775
| | | | | | | | We don't have en-IN, oc-LNC, or fil (Filipino) at all; we have tl-pl already hooked up, but that should probably change to just tl. Bug: T251696 Change-Id: Ic508615a270a90df4828f0946a06672da42f7ae9
* Upgrade moment from 2.19.3 to 2.24.0James D. Forrester2019-02-22127-9018/+9761
| | | | | Bug: T191339 Change-Id: I15034d88fabd9185f3eb5ffff98ee6f9922a7bc2
* foreign-resources: Pull all moment locales, even the ones we don't yet useJames D. Forrester2019-02-2213-0/+1108
| | | | | | This makes things simpler for configuration at a trivial cost of bytes. Change-Id: I2d7a0dd4136ccccf1eba6c93af4ba34acfbf0886
* resources: Bump moment.js from 2.15.0 to 2.19.3James D. Forrester2017-11-29106-7296/+8217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Languages and locales now with support: * bm * de-ch * gom-latn * gu * kn * sd * tet * ur * uz-latn * yo Skipped languages because we don't support them in MW: * ar-dz * ar-kw * ar-ly * en-ie * en-nz * es-do * es-us * fr-ch * me * nl-be * tlh * tzl Also drop 'x-pseudo' which was included but not used. Bug: T161732 Bug: T181547 Change-Id: I7f89569c6ee6640d368af1378e84c5a9e725dad0
* resources: Bump moment.js from 2.8.4 to 2.15.0James D. Forrester2017-02-0896-2583/+4294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Languages and locales now with support: * aeb-arab * dv * fy * gd * jv * kk-cyrl * ky * lo * ms * pa * se * si * ss * sw * te * zh-hk Skipped languages because we don't support them in MW: * ar-ly * en-ie * en-nz * es-do * fr-ch * me * tlh * tzl Change-Id: I7f89569c6ee6640d368af1378e84c5a9e725da0d
* momentjs: Hack around bug in node/browser compat wrapper in locale filesRoan Kattouw2016-09-1278-156/+312
| | | | | | | | | | | | If there is an element with id="global" on the page, typeof global !== 'undefined' is true, but global.moment will still be undefined and shouldn't be used. For now, comment out the wrapper and just use 'this'. We should look into upgrading to momentjs 2.14 where this bug is fixed. Bug: T145382 Change-Id: Ia6e3b46e42248a5ee3c61c5fcda7d020d012e89e
* Update Moment.js from 2.8.3 to 2.8.4paladox2015-01-0978-115/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update Moment.js from 2.8.1 to 2.8.3paladox2014-09-0878-0/+6766
Project site * http://momentjs.com * https://github.com/moment/moment/ File source * https://github.com/moment/moment/tree/2.8.3 Changelog * https://github.com/moment/moment/blob/2.8.3/CHANGELOG.md Difference between 2.8.1 and 2.8.3 1.8.3 Bugfixes: * #1801 proper pluralization for Arabic * #1833 improve spm integration * #1871 fix zone bug caused by Firefox 24 * #1882 Use hh:mm in Czech * #1883 Fix 2.8.0 regression in duration as conversions * #1890 Faster travis builds * #1892 Faster isBefore/After/Same * #1848 Fix flaky month diffs * #1895 Fix 2.8.0 regression in moment.utc with format array * #1896 Support setting invalid instance locale (noop) * #1897 Support moment([str]) in addition to moment([int]) 1.8.2 Minor bugfixes: * #1874 use Object.prototype.hasOwnProperty instead of obj.hasOwnProperty (ie8 bug) * #1873 add duration#toString() * #1859 better month/weekday names in norwegian * #1812 meridiem parsing for greek * #1804 spanish del -> de * #1800 korean LT improvement Change-Id: I60595e8ea41e136c7afee12ad3702ecec6dd4aef