]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
10 years agoRevert fr locale changes, suggested by https://github.com/moment/moment/pull/2414...
Iskren Chernev [Mon, 13 Jul 2015 00:21:44 +0000 (17:21 -0700)] 
Revert fr locale changes, suggested by https://github.com/moment/moment/pull/2414#issuecomment-118649162

10 years agoSet an abbreviation for ordinal numbers >1
Maxime VALY [Thu, 11 Jun 2015 09:14:28 +0000 (11:14 +0200)] 
Set an abbreviation for ordinal numbers >1

I went for the simpler "deuxième, troisième" form instead of "second,
troisième". All numbers after 1 share the same abbreviation.

My first idea was to go for "ème", but looking for a source to back my
PR I found that the "correct" way is "e", at least according to printing
rules: https://fr.wiktionary.org/wiki/2%C3%A8me

The French Academy doesn't seem to have any article concerning the
abbreviation, only the "second / deuxième" usage:
http://www.xn--acadmie-franaise-npb1a.fr/la-langue-francaise/questions-de-langue#29_strong-em-deuxime-second-em-strong

10 years agoMerge pull request #2404 from philjohnson789:develop
Iskren Chernev [Mon, 13 Jul 2015 00:14:29 +0000 (17:14 -0700)] 
Merge pull request #2404 from philjohnson789:develop

Fix Strict Date Parsing of ISO-8601 Dates Without Times

10 years agoChanging a unit test case that is incorrectly labelled as valid.
Phil Johnson [Thu, 4 Jun 2015 21:11:07 +0000 (17:11 -0400)] 
Changing a unit test case that is incorrectly labelled as valid.

10 years agoFixing ISO-8601 date parsing when no time component is present.
Phil Johnson [Thu, 4 Jun 2015 20:48:51 +0000 (16:48 -0400)] 
Fixing ISO-8601 date parsing when no time component is present.

10 years agoAdding unit tests to verify strict date parsing of ISO-8601 dates.
Phil Johnson [Thu, 4 Jun 2015 19:56:01 +0000 (15:56 -0400)] 
Adding unit tests to verify strict date parsing of ISO-8601 dates.

10 years agoMerge pull request #2368 from wyantb:clone-perf
Iskren Chernev [Mon, 13 Jul 2015 00:00:30 +0000 (17:00 -0700)] 
Merge pull request #2368 from wyantb:clone-perf

perf: use faster form of copying dates, across the board improvement

10 years agoperf: add duration benchmark, cleanup benchmarking output
Brian Wyant [Sun, 10 May 2015 02:06:10 +0000 (22:06 -0400)] 
perf: add duration benchmark, cleanup benchmarking output

10 years agoperf: use faster form of copying dates, across the board improvement
Brian Wyant [Sat, 9 May 2015 17:40:32 +0000 (13:40 -0400)] 
perf: use faster form of copying dates, across the board improvement

Reference: http://jsperf.com/date-copy-constructor/3

10 years agoMerge pull request #2477 from ichernev:add-ms-locale
Iskren Chernev [Sun, 12 Jul 2015 23:58:54 +0000 (16:58 -0700)] 
Merge pull request #2477 from ichernev:add-ms-locale

Add ms locale (copy ms-my)

10 years agoCopy ms-my to ms locale, redo #2347
Iskren Chernev [Sun, 12 Jul 2015 23:53:44 +0000 (16:53 -0700)] 
Copy ms-my to ms locale, redo #2347

10 years agoMerge pull request #2357 from NobodysNightmare:feature/iso_date_bubbling
Iskren Chernev [Sun, 12 Jul 2015 23:57:20 +0000 (16:57 -0700)] 
Merge pull request #2357 from NobodysNightmare:feature/iso_date_bubbling

Improve unit bubbling for ISO dates

10 years agoadd tests for ISO bubbling
Jan Sandbrink [Mon, 4 May 2015 13:00:24 +0000 (15:00 +0200)] 
add tests for ISO bubbling

10 years agoprevent bubbling of minor units for ISO dates
Jan Sandbrink [Mon, 4 May 2015 12:55:46 +0000 (14:55 +0200)] 
prevent bubbling of minor units for ISO dates

ISO 8601 makes a difference between e.g. 24 hours and 1 day:

* both are the same most of the time
* in case there is a clock change (e.g. DST) however, "P1D" means "next day, same time" and "PT24H" means: now in 24 hours (which can be off by one hour in either direction in case of DST)

days and months are also a complicated matter...

10 years agoRevert "Merge pull request #2347 from wajatimur:develop"
Iskren Chernev [Sun, 12 Jul 2015 23:50:56 +0000 (16:50 -0700)] 
Revert "Merge pull request #2347 from wajatimur:develop"

I'll redo this change myself.

This reverts commit 779eab554d6af2186496a8743729da3cf85196a3, reversing
changes made to 0137bc1049b01fcf8f7a2f91db2f5c1f65577e54.

10 years agoMerge pull request #2347 from wajatimur:develop
Iskren Chernev [Sun, 12 Jul 2015 23:43:51 +0000 (16:43 -0700)] 
Merge pull request #2347 from wajatimur:develop

Change Malay language code to comply IOS639-2

10 years agoChange locale files ms-my to ms in src/locale and test
Azri Jamil [Sun, 5 Jul 2015 06:10:09 +0000 (14:10 +0800)] 
Change locale files ms-my to ms in src/locale and test

10 years agoChange Malay language code to comply IOS639-2
Azri Jamil [Mon, 27 Apr 2015 02:33:11 +0000 (10:33 +0800)] 
Change Malay language code to comply IOS639-2

10 years agoMerge pull request #2336 from gregor-rayman:year_week_fix
Iskren Chernev [Sun, 12 Jul 2015 23:39:10 +0000 (16:39 -0700)] 
Merge pull request #2336 from gregor-rayman:year_week_fix

Fixes year/week parsing for non-standard dow/doy combinations

10 years agoFixes year/week parsing for non-standard dow/doy combinations
Gregor Rayman [Sat, 18 Apr 2015 13:01:01 +0000 (15:01 +0200)] 
Fixes year/week parsing for non-standard dow/doy combinations

10 years agoMerge pull request #2127 from Gobie:patch/cleanup
Iskren Chernev [Sun, 12 Jul 2015 23:37:27 +0000 (16:37 -0700)] 
Merge pull request #2127 from Gobie:patch/cleanup

Code cleanup and speedup

10 years agoClean the structure of conditons in parseWeekday
Michal Brašna [Wed, 13 May 2015 16:13:45 +0000 (18:13 +0200)] 
Clean the structure of conditons in parseWeekday

10 years agoUse existing absFloor function
Michal Brašna [Wed, 13 May 2015 16:00:41 +0000 (18:00 +0200)] 
Use existing absFloor function

10 years agoOptimize speed of zeroFill and add benchmarks
Michal Brašna [Wed, 13 May 2015 15:42:58 +0000 (17:42 +0200)] 
Optimize speed of zeroFill and add benchmarks

10 years agoClean up the code a bit
Michal Brašna [Wed, 13 May 2015 15:29:35 +0000 (17:29 +0200)] 
Clean up the code a bit

10 years agoMerge pull request #2371 from cvrebert/patch-1
Matt Johnson [Thu, 25 Jun 2015 04:41:41 +0000 (21:41 -0700)] 
Merge pull request #2371 from cvrebert/patch-1

bower.json: remove moot `version` field

10 years agobower.json: remove moot `version` field 2371/head
Chris Rebert [Wed, 13 May 2015 03:25:24 +0000 (20:25 -0700)] 
bower.json: remove moot `version` field

Per https://github.com/bower/bower.json-spec/commit/a325da3d79baab018c572d75dc1781b12322f6cd

10 years agoMerge pull request #2393 from pioneerlike/develop
Matt Johnson [Tue, 23 Jun 2015 00:53:55 +0000 (17:53 -0700)] 
Merge pull request #2393 from pioneerlike/develop

Fix building tasks for `moment-with-locales.js` and `moment-with-locales.custom.js`

10 years agoMerge pull request #2424 from joefreeman/develop
Matt Johnson [Tue, 23 Jun 2015 00:51:18 +0000 (17:51 -0700)] 
Merge pull request #2424 from joefreeman/develop

Allow custom formats to be passed to calendar function.

10 years agoMerge pull request #2377 from nasitra/develop
Matt Johnson [Fri, 19 Jun 2015 06:06:01 +0000 (23:06 -0700)] 
Merge pull request #2377 from nasitra/develop

Remove unreachable code

10 years agoMerge pull request #2419 from jisaacks/local-format-fix
Matt Johnson [Fri, 19 Jun 2015 05:58:28 +0000 (22:58 -0700)] 
Merge pull request #2419 from jisaacks/local-format-fix

Ensure all longDateFormats are fully expanded

10 years agoAllow custom formats to be passed to calendar function. 2424/head
Joe Freeman [Wed, 17 Jun 2015 11:19:11 +0000 (12:19 +0100)] 
Allow custom formats to be passed to calendar function.

10 years agoFix for style guide 2419/head
JD Isaacks [Mon, 15 Jun 2015 16:22:48 +0000 (12:22 -0400)] 
Fix for style guide

10 years agoAdd semicolon to make jshint happy
JD Isaacks [Mon, 15 Jun 2015 16:09:42 +0000 (12:09 -0400)] 
Add semicolon to make jshint happy

10 years agoEnsure all longDateFormats are fully expanded
JD Isaacks [Mon, 15 Jun 2015 15:25:47 +0000 (11:25 -0400)] 
Ensure all longDateFormats are fully expanded

fixes #2163

10 years agoMerge pull request #2288 from seferov/develop
Matt Johnson [Mon, 8 Jun 2015 22:03:24 +0000 (15:03 -0700)] 
Merge pull request #2288 from seferov/develop

fixed typos

10 years agoMerge pull request #2380 from pgilad/patch-1
Matt Johnson [Wed, 3 Jun 2015 19:28:52 +0000 (12:28 -0700)] 
Merge pull request #2380 from pgilad/patch-1

update license attribute

10 years agoFixes for generateMomentWithLocales 2393/head
Dennis [Thu, 28 May 2015 21:48:01 +0000 (14:48 -0700)] 
Fixes for generateMomentWithLocales

10 years agoupdate license attribute 2380/head
Gilad Peleg [Tue, 19 May 2015 11:01:28 +0000 (14:01 +0300)] 
update license attribute

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

10 years agoRemove unreachable code 2377/head
nasitra [Sat, 16 May 2015 00:57:26 +0000 (09:57 +0900)] 
Remove unreachable code

10 years agoBuild 2.10.3 2.10.3
Iskren Chernev [Wed, 13 May 2015 07:42:12 +0000 (00:42 -0700)] 
Build 2.10.3

10 years agoBump version to 2.10.3
Iskren Chernev [Wed, 13 May 2015 07:40:43 +0000 (00:40 -0700)] 
Bump version to 2.10.3

10 years agoUpdate changelog for 2.10.3
Iskren Chernev [Wed, 13 May 2015 07:40:07 +0000 (00:40 -0700)] 
Update changelog for 2.10.3

10 years agoAdd tests for moment#toNow and fixed prototype
Iskren Chernev [Wed, 13 May 2015 07:27:00 +0000 (00:27 -0700)] 
Add tests for moment#toNow and fixed prototype

10 years agoAdd moment.fn.to and moment.fn.toNow with tests (redo #2120)
Iskren Chernev [Mon, 4 May 2015 16:35:12 +0000 (09:35 -0700)] 
Add moment.fn.to and moment.fn.toNow with tests (redo #2120)

10 years agoFix broken tests
Iskren Chernev [Mon, 4 May 2015 16:23:41 +0000 (09:23 -0700)] 
Fix broken tests

10 years agoFix from/fromNow on invalid moments (fixes #2079)
Iskren Chernev [Mon, 4 May 2015 07:52:02 +0000 (00:52 -0700)] 
Fix from/fromNow on invalid moments (fixes #2079)

10 years agoAdd locale Sinhalese (si) (redo #2119)
Iskren Chernev [Mon, 4 May 2015 07:44:01 +0000 (00:44 -0700)] 
Add locale Sinhalese (si) (redo #2119)

10 years agoMerge pull request #2126 from Gobie:patch/editorconfig
Iskren Chernev [Mon, 4 May 2015 07:24:11 +0000 (00:24 -0700)] 
Merge pull request #2126 from Gobie:patch/editorconfig

Add .editorconfig

10 years agoAdd .editorconfig for project
Michal Brašna [Sun, 28 Dec 2014 12:20:30 +0000 (13:20 +0100)] 
Add .editorconfig for project

10 years agoAdd Montenegrin locale (me.js) (redo #2136)
Iskren Chernev [Mon, 4 May 2015 07:23:12 +0000 (00:23 -0700)] 
Add Montenegrin locale (me.js) (redo #2136)

10 years agoUse Cyrillic letters for Chuvash diacritics (redo #2139)
Iskren Chernev [Mon, 4 May 2015 07:13:14 +0000 (00:13 -0700)] 
Use Cyrillic letters for Chuvash diacritics (redo #2139)

10 years agoJavanese locale (redo #2159)
Iskren Chernev [Mon, 4 May 2015 07:05:02 +0000 (00:05 -0700)] 
Javanese locale (redo #2159)

10 years agoChanged Swedish locale (redo #2156)
Iskren Chernev [Mon, 4 May 2015 05:24:40 +0000 (22:24 -0700)] 
Changed Swedish locale (redo #2156)

10 years agogenerate stack trace when logging deprecation messages (redo #2175)
Iskren Chernev [Mon, 4 May 2015 05:16:56 +0000 (22:16 -0700)] 
generate stack trace when logging deprecation messages (redo #2175)

10 years agoMerge pull request #2176 from chulkilee:more-ignore
Iskren Chernev [Mon, 4 May 2015 05:13:35 +0000 (22:13 -0700)] 
Merge pull request #2176 from chulkilee:more-ignore

ignore files in packages

10 years agoignore files in packages
Chulki Lee [Fri, 23 Jan 2015 19:42:55 +0000 (11:42 -0800)] 
ignore files in packages

10 years agoMerge pull request #2181 from tomhorvat:patch-1
Iskren Chernev [Mon, 4 May 2015 05:10:31 +0000 (22:10 -0700)] 
Merge pull request #2181 from tomhorvat:patch-1

Locale hr: Month name fix

10 years agoUpdate hr.js and tests
tomhorvat [Sat, 24 Jan 2015 23:37:03 +0000 (00:37 +0100)] 
Update hr.js and tests

10 years agoMerge pull request #2204 from zenozeng:patch-for-pull-2051
Iskren Chernev [Mon, 4 May 2015 05:04:31 +0000 (22:04 -0700)] 
Merge pull request #2204 from zenozeng:patch-for-pull-2051

Patch for pull 2051

10 years agoadd a space (from AprilOrange's pull#2051) and add tests
Zeno Zeng [Tue, 28 Apr 2015 07:30:59 +0000 (15:30 +0800)] 
add a space (from AprilOrange's pull#2051) and add tests

10 years agoMerge pull request #2211 from elvinyung:develop
Iskren Chernev [Mon, 4 May 2015 05:02:49 +0000 (22:02 -0700)] 
Merge pull request #2211 from elvinyung:develop

Fix 0 hour checking in strict parsing.

10 years agoAdd unit tests for 0 hour bigHour checking.
Elvin Yung [Fri, 17 Apr 2015 16:09:23 +0000 (12:09 -0400)] 
Add unit tests for 0 hour bigHour checking.

10 years agoFix bigHour checking for hour 0.
Elvin Yung [Fri, 17 Apr 2015 16:07:53 +0000 (12:07 -0400)] 
Fix bigHour checking for hour 0.

10 years agoPatch to regular expression that was causing a lint warning (redo #2220)
Iskren Chernev [Mon, 4 May 2015 04:56:02 +0000 (21:56 -0700)] 
Patch to regular expression that was causing a lint warning (redo #2220)

10 years agoFix Slovenian locale (redo #2226)
Iskren Chernev [Mon, 4 May 2015 04:54:26 +0000 (21:54 -0700)] 
Fix Slovenian locale (redo #2226)

10 years agoFixed Monday's abbr in Burmese (redo #2239)
Iskren Chernev [Mon, 4 May 2015 04:36:08 +0000 (21:36 -0700)] 
Fixed Monday's abbr in Burmese (redo #2239)

10 years ago[locale/ar] Fix text direction of D/M/Y formats (redo #2268)
Iskren Chernev [Mon, 4 May 2015 04:28:25 +0000 (21:28 -0700)] 
[locale/ar] Fix text direction of D/M/Y formats (redo #2268)

10 years agoMerge pull request #2278 from szwacz:develop
Iskren Chernev [Mon, 4 May 2015 04:21:11 +0000 (21:21 -0700)] 
Merge pull request #2278 from szwacz:develop

Fix PL locale months parsing

10 years agoFix PL locale months parsing
Jakub Szwacz [Sat, 18 Apr 2015 05:48:05 +0000 (07:48 +0200)] 
Fix PL locale months parsing

10 years agoSimplify expression in duration#as (#2286)
Iskren Chernev [Mon, 4 May 2015 04:19:31 +0000 (21:19 -0700)] 
Simplify expression in duration#as (#2286)

10 years agoMerge pull request #2303 from brianwyantora:develop
Iskren Chernev [Mon, 4 May 2015 04:14:12 +0000 (21:14 -0700)] 
Merge pull request #2303 from brianwyantora:develop

Performance: improve parsing of moments from valid Date objects

10 years ago perf: avoid calling new Date(+date) twice, Moment ctor will clone it properly
Brian Wyant [Wed, 22 Apr 2015 14:54:02 +0000 (10:54 -0400)] 
 perf: avoid calling new Date(+date) twice, Moment ctor will clone it properly

10 years agoperf: checking == null faster than hasOwnProperty
Brian Wyant [Wed, 22 Apr 2015 14:30:55 +0000 (10:30 -0400)] 
perf: checking == null faster than hasOwnProperty

http://jsperf.com/hasownproperty-vs-in-vs-other/4

10 years agoperf: check instanceof before toString, like #2257
Brian Wyant [Wed, 22 Apr 2015 14:29:25 +0000 (10:29 -0400)] 
perf: check instanceof before toString, like #2257

10 years agoperf(parsing flags): lazily initialize parsing flags
Brian Wyant [Wed, 22 Apr 2015 14:28:24 +0000 (10:28 -0400)] 
perf(parsing flags): lazily initialize parsing flags

10 years agoperf: benchmark moment(Date) ctors
Brian Wyant [Mon, 6 Apr 2015 13:35:15 +0000 (09:35 -0400)] 
perf: benchmark moment(Date) ctors

10 years agoMerge pull request #2321 from JanisE:develop
Iskren Chernev [Mon, 4 May 2015 04:12:56 +0000 (21:12 -0700)] 
Merge pull request #2321 from JanisE:develop

Relative times, short date format.

10 years ago- If you insist. :)
janise [Sat, 18 Apr 2015 07:33:29 +0000 (10:33 +0300)] 
- If you insist. :)

10 years ago- Grammar for relative times (see example in http://www.uzdevumi.lv/p/latviesu-valoda...
janise [Sat, 11 Apr 2015 18:50:09 +0000 (21:50 +0300)] 
- Grammar for relative times (see example in http://www.uzdevumi.lv/p/latviesu-valoda/11-klase/stilistika-8130/re-68541d02-c66f-4e5b-bd29-ce6de3421c5a).
- Fix singular unit durations for withoutSuffix=true cases (they matched withoutSuffix=false cases).
- The short date format adjusted (http://likumi.lv/ta/id/219491-dokumentu-izstradasanas-un-noformesanas-kartiba#p-363331).
- Cache already split units, do not split them every time.

10 years agoMerge pull request #2328 from raphamorim:develop
Iskren Chernev [Mon, 4 May 2015 04:12:24 +0000 (21:12 -0700)] 
Merge pull request #2328 from raphamorim:develop

Standard nomenclature (pt, pt-br, es)

10 years agoupdate tests in moment/locale for (es) nomenclature lastest changes
Raphael Amorim [Thu, 16 Apr 2015 03:14:49 +0000 (00:14 -0300)] 
update tests in moment/locale for (es) nomenclature lastest changes

10 years agoadjust and update tests for en
Raphael Amorim [Thu, 16 Apr 2015 03:13:54 +0000 (00:13 -0300)] 
adjust and update tests for en

10 years agoadjust nomenclature (es)
Raphael Amorim [Thu, 16 Apr 2015 03:13:31 +0000 (00:13 -0300)] 
adjust nomenclature (es)

10 years agoadjust tests for pt
Raphael Amorim [Thu, 16 Apr 2015 03:00:42 +0000 (00:00 -0300)] 
adjust tests for pt

10 years agoadjust nomenclature (pt)
Raphael Amorim [Thu, 16 Apr 2015 03:00:18 +0000 (00:00 -0300)] 
adjust nomenclature (pt)

10 years agoadjust tests for pt-br and added a forgoted uppercase
Raphael Amorim [Thu, 16 Apr 2015 02:52:34 +0000 (23:52 -0300)] 
adjust tests for pt-br and added a forgoted uppercase

10 years agoadjust nomenclature
Raphael Amorim [Tue, 14 Apr 2015 21:59:56 +0000 (18:59 -0300)] 
adjust nomenclature

10 years agoMerge pull request #2329 from hemp:feature/update-zh-locales
Iskren Chernev [Mon, 4 May 2015 04:10:58 +0000 (21:10 -0700)] 
Merge pull request #2329 from hemp:feature/update-zh-locales

Add the minute unit of time for zh-cn and zh-tw locales and update tests.

10 years agoAdd the minute unit of time for zh-cn and zh-tw locales and update tests.
Chris Hemp [Wed, 15 Apr 2015 13:12:14 +0000 (09:12 -0400)] 
Add the minute unit of time for zh-cn and zh-tw locales and update tests.

10 years agoAdd gitter badge to readme
Matt Johnson [Mon, 20 Apr 2015 20:35:31 +0000 (13:35 -0700)] 
Add gitter badge to readme

10 years agoUpdate CONTRIBUTING with info about ES6 modules
Iskren Chernev [Fri, 17 Apr 2015 05:30:00 +0000 (22:30 -0700)] 
Update CONTRIBUTING with info about ES6 modules

10 years agoUpdate year range in LICENSE
Iskren Chernev [Fri, 17 Apr 2015 04:49:47 +0000 (21:49 -0700)] 
Update year range in LICENSE

10 years agoUpdate CONTRIBUTING.md with info about @mentioning original locale author
Iskren Chernev [Fri, 17 Apr 2015 04:28:36 +0000 (21:28 -0700)] 
Update CONTRIBUTING.md with info about @mentioning original locale author

10 years agoFix for meteor in IE8 (#2308)
Iskren Chernev [Fri, 17 Apr 2015 04:06:54 +0000 (21:06 -0700)] 
Fix for meteor in IE8 (#2308)

10 years agoMerge pull request #2319 from leehankyeol/patch-1
Iskren Ivov Chernev [Wed, 15 Apr 2015 16:54:27 +0000 (09:54 -0700)] 
Merge pull request #2319 from leehankyeol/patch-1

Update link to example unit test

10 years agoUpdate link to example unit test 2319/head
이한결 [Sat, 11 Apr 2015 02:58:47 +0000 (11:58 +0900)] 
Update link to example unit test

Because it was broken.

10 years agoBuild 2.10.2 2.10.2
Iskren Chernev [Thu, 9 Apr 2015 06:31:25 +0000 (23:31 -0700)] 
Build 2.10.2

10 years agoBump version to 2.10.2
Iskren Chernev [Thu, 9 Apr 2015 06:30:01 +0000 (23:30 -0700)] 
Bump version to 2.10.2

10 years agoChangelog for 2.10.2
Iskren Chernev [Thu, 9 Apr 2015 06:29:34 +0000 (23:29 -0700)] 
Changelog for 2.10.2