]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
10 years agoFixed capitalization in comments 1934/head
Alexander Jeng [Mon, 22 Sep 2014 05:09:53 +0000 (22:09 -0700)] 
Fixed capitalization in comments

10 years agoBuild 2.8.3 2.8.3
Iskren Chernev [Fri, 5 Sep 2014 07:49:45 +0000 (00:49 -0700)] 
Build 2.8.3

10 years agoRemove unnecessary package.json processing step during build
Iskren Chernev [Fri, 5 Sep 2014 07:48:46 +0000 (00:48 -0700)] 
Remove unnecessary package.json processing step during build

10 years agoBump version to 2.8.3
Iskren Chernev [Fri, 5 Sep 2014 07:46:55 +0000 (00:46 -0700)] 
Bump version to 2.8.3

10 years agoUpdate changelog for 2.8.3
Iskren Chernev [Fri, 5 Sep 2014 07:46:23 +0000 (00:46 -0700)] 
Update changelog for 2.8.3

10 years agoMerge pull request #1801 from forabi/develop
Iskren Chernev [Fri, 5 Sep 2014 07:04:08 +0000 (00:04 -0700)] 
Merge pull request #1801 from forabi/develop

10 years ago[locale/ar] Use native plural forms
Muhammad Fawwaz Orabi [Sat, 26 Jul 2014 12:20:46 +0000 (15:20 +0300)] 
[locale/ar] Use native plural forms

10 years agoMerge pull request #1833 from spmjs/develop
Iskren Chernev [Fri, 5 Sep 2014 06:46:59 +0000 (23:46 -0700)] 
Merge pull request #1833 from spmjs/develop

10 years agoupdate .spmignore
afc163 [Tue, 5 Aug 2014 12:42:14 +0000 (20:42 +0800)] 
update .spmignore

10 years agoglob files in spm.output
afc163 [Tue, 5 Aug 2014 12:41:56 +0000 (20:41 +0800)] 
glob files in spm.output

10 years agoMerge pull request #1871 from 108adams/develop
Iskren Chernev [Fri, 5 Sep 2014 06:42:21 +0000 (23:42 -0700)] 
Merge pull request #1871 from 108adams/develop

10 years agoImplement https://github.com/moment/moment/pull/1871#issuecomment-53700377
Iskren Chernev [Fri, 5 Sep 2014 06:41:41 +0000 (23:41 -0700)] 
Implement https://github.com/moment/moment/pull/1871#issuecomment-53700377

10 years agorounding getTimeZoneOffset for FF 24 bug
Adam Kucharczyk [Wed, 20 Aug 2014 16:09:13 +0000 (17:08 +0059)] 
rounding getTimeZoneOffset for FF 24 bug

10 years agoMerge pull request #1882 from saxicek/patch-1
Iskren Chernev [Fri, 5 Sep 2014 05:08:21 +0000 (22:08 -0700)] 
Merge pull request #1882 from saxicek/patch-1

10 years agoUse colon for hour-minute delimiter in Czech
saxicek [Mon, 25 Aug 2014 16:05:12 +0000 (18:05 +0200)] 
Use colon for hour-minute delimiter in Czech

10 years agoMerge pull request #1883 from jsmreese/develop
Iskren Chernev [Fri, 5 Sep 2014 05:03:54 +0000 (22:03 -0700)] 
Merge pull request #1883 from jsmreese/develop

10 years agoWhitespace
John Madhavan-Reese [Mon, 25 Aug 2014 16:30:58 +0000 (12:30 -0400)] 
Whitespace

10 years agoWhitespace
John Madhavan-Reese [Mon, 25 Aug 2014 16:28:21 +0000 (12:28 -0400)] 
Whitespace

10 years agoTests for floating point errors in duration .as method output.
John Madhavan-Reese [Mon, 25 Aug 2014 16:20:54 +0000 (12:20 -0400)] 
Tests for floating point errors in duration .as method output.

10 years agoFloating point math errors in duration .as method output.
John Madhavan-Reese [Mon, 25 Aug 2014 16:19:19 +0000 (12:19 -0400)] 
Floating point math errors in duration .as method output.

10 years agoMerge pull request #1890 from PeterDaveHello/patch-1
Iskren Chernev [Fri, 5 Sep 2014 05:00:20 +0000 (22:00 -0700)] 
Merge pull request #1890 from PeterDaveHello/patch-1

10 years agomake CI build faster
Peter Dave Hello [Thu, 28 Aug 2014 12:50:43 +0000 (20:50 +0800)] 
make CI build faster

10 years agoMerge pull request #1892 from hupfis/develop
Iskren Chernev [Fri, 5 Sep 2014 04:57:36 +0000 (21:57 -0700)] 
Merge pull request #1892 from hupfis/develop

10 years agoPerformance optimization isBefore/isAfter/isSame
Dominik Hurnaus [Tue, 26 Aug 2014 13:11:16 +0000 (15:11 +0200)] 
Performance optimization isBefore/isAfter/isSame

- optimized performance of isBefore/isAfter/isSame by using valueOf and not momentizing/cloning already existing moment objects
- 90% performance improvement when using without specific unit and the input is already a moment object

reviewed by PatrickBic/tscheinecker

10 years agoMerge pull request #1848 from ichernev/bugfix/fix-month-diff
Iskren Ivov Chernev [Fri, 5 Sep 2014 04:52:58 +0000 (21:52 -0700)] 
Merge pull request #1848 from ichernev/bugfix/fix-month-diff

Fix moment diff across dst in weird cases

10 years agoMake jscs happy 1848/head
Iskren Chernev [Fri, 5 Sep 2014 04:52:36 +0000 (21:52 -0700)] 
Make jscs happy

10 years agoFix moment diff across dst in weird cases
Iskren Chernev [Sun, 10 Aug 2014 06:47:37 +0000 (23:47 -0700)] 
Fix moment diff across dst in weird cases

moment diff across dst was sometimes failing because of a floating point
rounding. Just make sure to first do additions/subtractions and then division.

10 years agoMerge pull request #1895 from ichernev/fix-utc-fmt-array
Iskren Ivov Chernev [Fri, 5 Sep 2014 04:48:46 +0000 (21:48 -0700)] 
Merge pull request #1895 from ichernev/fix-utc-fmt-array

Fix moment.utc with array of formats

10 years agoFix moment.utc with array of formats 1895/head
Iskren Chernev [Fri, 29 Aug 2014 15:44:41 +0000 (18:44 +0300)] 
Fix moment.utc with array of formats

Fixes #1878

10 years agoMerge pull request #1896 from ichernev/fix-locale-with-bad-id
Iskren Ivov Chernev [Fri, 5 Sep 2014 04:43:41 +0000 (21:43 -0700)] 
Merge pull request #1896 from ichernev/fix-locale-with-bad-id

Fix moment().locale('ivalid-id')

10 years agoFix moment().locale('ivalid-id') 1896/head
Iskren Chernev [Fri, 29 Aug 2014 16:11:45 +0000 (19:11 +0300)] 
Fix moment().locale('ivalid-id')

10 years agoMerge pull request #1897 from ichernev/support-array-with-strings
Iskren Chernev [Fri, 5 Sep 2014 04:41:35 +0000 (21:41 -0700)] 
Merge pull request #1897 from ichernev/support-array-with-strings

10 years agoMoment creation with array of string now works properly 1897/head
Iskren Chernev [Fri, 29 Aug 2014 16:25:25 +0000 (19:25 +0300)] 
Moment creation with array of string now works properly

10 years agoBuild 2.8.2 2.8.2
Iskren Chernev [Fri, 22 Aug 2014 13:32:22 +0000 (16:32 +0300)] 
Build 2.8.2

10 years agoFix grunt release warning message
Iskren Chernev [Fri, 22 Aug 2014 13:32:07 +0000 (16:32 +0300)] 
Fix grunt release warning message

10 years agoBump version to 2.8.2
Iskren Chernev [Fri, 22 Aug 2014 13:23:13 +0000 (16:23 +0300)] 
Bump version to 2.8.2

10 years agoFix bump_version after quote switch
Iskren Chernev [Fri, 22 Aug 2014 13:22:46 +0000 (16:22 +0300)] 
Fix bump_version after quote switch

10 years agoUpdate changelog for 2.8.2
Iskren Chernev [Fri, 22 Aug 2014 13:18:25 +0000 (16:18 +0300)] 
Update changelog for 2.8.2

10 years agoMerge pull request #1874 from ichernev/has-own
Iskren Ivov Chernev [Wed, 20 Aug 2014 22:12:52 +0000 (01:12 +0300)] 
Merge pull request #1874 from ichernev/has-own

Avoid obj.hasOwnProperty in favor of Object.prototype.hasOwnPrototype

@changelog
@section bugfix

10 years agoAvoid obj.hasOwnProperty in favor of Object.prototype.hasOwnPrototype 1874/head
Iskren Chernev [Wed, 20 Aug 2014 22:10:18 +0000 (01:10 +0300)] 
Avoid obj.hasOwnProperty in favor of Object.prototype.hasOwnPrototype

Reimplement #1818, with replacing all hasOwnPrototype and adding a test.

10 years agoMerge pull request #1873 from ichernev/feature/duration-to-string
Iskren Chernev [Wed, 20 Aug 2014 21:54:16 +0000 (00:54 +0300)] 
Merge pull request #1873 from ichernev/feature/duration-to-string

Add moment.duration.toString()

@changelog
@section bugfix

10 years agoAdd moment.duration.toString()
Iskren Chernev [Wed, 20 Aug 2014 20:02:43 +0000 (23:02 +0300)] 
Add moment.duration.toString()

10 years agoMerge pull request #1859 from egilkh/develop
Iskren Chernev [Wed, 20 Aug 2014 21:50:47 +0000 (00:50 +0300)] 
Merge pull request #1859 from egilkh/develop

Improve norwegian bokmål. Fixes #1850

@changelog
@section lang-bugfix

10 years agoImprove norwegian bokmål. Fixes #1850
egilkh [Wed, 13 Aug 2014 14:19:09 +0000 (16:19 +0200)] 
Improve norwegian bokmål. Fixes #1850

With tests changed.

10 years agoMerge pull request #1812 from nikoskalogridis/master
Iskren Chernev [Wed, 20 Aug 2014 21:42:57 +0000 (00:42 +0300)] 
Merge pull request #1812 from nikoskalogridis/master

Add meridiem parsing functions for el language

@changelog
@section lang-bugfix

10 years agotests added for meridiem parsing for (el) locale
Nikos Kalogridis [Thu, 31 Jul 2014 16:13:16 +0000 (19:13 +0300)] 
tests added for meridiem parsing for (el) locale

10 years agoAdded meridiem parsing functions for el language
Nikos Kalogridis [Thu, 31 Jul 2014 06:44:56 +0000 (09:44 +0300)] 
Added meridiem parsing functions for el language

10 years agoMerge pull request #1804 from rbonvall/develop
Iskren Chernev [Wed, 20 Aug 2014 21:38:51 +0000 (00:38 +0300)] 
Merge pull request #1804 from rbonvall/develop

Spanish locale: del→de before year

@changelog
@section lang-bugfix
@description del→de before year in spanish

10 years agoSpanish locale tests: del→de before year
Roberto Bonvallet [Mon, 28 Jul 2014 21:07:47 +0000 (17:07 -0400)] 
Spanish locale tests: del→de before year

10 years agoSpanish locale: del→de before year
Roberto Bonvallet [Mon, 28 Jul 2014 19:05:02 +0000 (15:05 -0400)] 
Spanish locale: del→de before year

The proper preposition before the year is «de». «del» is used informally for years since 2000 but is not the proper form and cannot be used for years before 2000.

10 years agoMerge pull request #1800 from kyungw00k/master
Iskren Chernev [Wed, 20 Aug 2014 21:33:39 +0000 (00:33 +0300)] 
Merge pull request #1800 from kyungw00k/master

@changelog
@section lang-bugfix
@description Use 'm' instead of 'mm' in longDateFormat in korean

10 years agoModified longDateFormat.LT format 'mm' to 'm'
kyungwook [Sat, 26 Jul 2014 11:53:56 +0000 (20:53 +0900)] 
Modified longDateFormat.LT format 'mm' to 'm'

It's little bit awkward to show 'minutes' in two digits.
So, it need to be modified to show like 2[minute], not 02[minute].

10 years agoUse only single quotes
Iskren Chernev [Wed, 20 Aug 2014 21:21:17 +0000 (00:21 +0300)] 
Use only single quotes

10 years agoMerge pull request #1856 from egilkh/fix-locale-file-comments
Iskren Ivov Chernev [Mon, 18 Aug 2014 12:56:46 +0000 (15:56 +0300)] 
Merge pull request #1856 from egilkh/fix-locale-file-comments

Add missing locale key to file comment.

10 years agoAdd missing locale key to file comment. 1856/head
egilkh [Wed, 13 Aug 2014 17:35:21 +0000 (19:35 +0200)] 
Add missing locale key to file comment.

11 years agoAdd test for moment#locale(false)
Iskren Chernev [Sun, 3 Aug 2014 00:35:49 +0000 (17:35 -0700)] 
Add test for moment#locale(false)

11 years agoBuild 2.8.1 2.8.1
Iskren Chernev [Fri, 1 Aug 2014 17:20:20 +0000 (10:20 -0700)] 
Build 2.8.1

11 years agoBump version to 2.8.1
Iskren Chernev [Fri, 1 Aug 2014 17:19:50 +0000 (10:19 -0700)] 
Bump version to 2.8.1

11 years agoAdd 2.8.1 changelog
Iskren Chernev [Fri, 1 Aug 2014 17:19:24 +0000 (10:19 -0700)] 
Add 2.8.1 changelog

11 years agoMerge pull request #1813 from ichernev/bugfix/maintain-lang-original-behavior
Iskren Ivov Chernev [Fri, 1 Aug 2014 17:17:00 +0000 (10:17 -0700)] 
Merge pull request #1813 from ichernev/bugfix/maintain-lang-original-behavior

Fix moment().lang([key]) backwards compatibility broken in 2.8.0.

11 years agoMake jscs happy 1813/head
Iskren Chernev [Thu, 31 Jul 2014 18:07:28 +0000 (11:07 -0700)] 
Make jscs happy

11 years agoFix moment().lang() pre 2.8 behavior
Iskren Chernev [Thu, 31 Jul 2014 18:05:54 +0000 (11:05 -0700)] 
Fix moment().lang() pre 2.8 behavior

11 years agoAdd failing unit tests asserting old moment().lang(str) behavior
Iskren Chernev [Thu, 31 Jul 2014 08:33:15 +0000 (01:33 -0700)] 
Add failing unit tests asserting old moment().lang(str) behavior

11 years agoFix travis npm version bug
Iskren Chernev [Thu, 31 Jul 2014 18:12:02 +0000 (11:12 -0700)] 
Fix travis npm version bug

11 years agoBuild 2.8.0 2.8.0
Iskren Chernev [Thu, 31 Jul 2014 06:06:16 +0000 (23:06 -0700)] 
Build 2.8.0

11 years agoBump version to 2.8.0
Iskren Chernev [Thu, 31 Jul 2014 06:01:24 +0000 (23:01 -0700)] 
Bump version to 2.8.0

11 years agoFix Burmese code in comment (mm -> my)
Iskren Chernev [Thu, 31 Jul 2014 05:08:48 +0000 (22:08 -0700)] 
Fix Burmese code in comment (mm -> my)

11 years agoFix Tibetan language code (ti -> bo)
Iskren Chernev [Thu, 31 Jul 2014 05:08:02 +0000 (22:08 -0700)] 
Fix Tibetan language code (ti -> bo)

11 years agoAdd 2.8.0 changelog
Iskren Chernev [Thu, 31 Jul 2014 05:05:34 +0000 (22:05 -0700)] 
Add 2.8.0 changelog

11 years agoAdd bump_version grunt task
Iskren Chernev [Wed, 30 Jul 2014 06:43:57 +0000 (23:43 -0700)] 
Add bump_version grunt task

11 years agoMerge pull request #1808 from ichernev/optimize_clone
Iskren Ivov Chernev [Wed, 30 Jul 2014 05:45:14 +0000 (22:45 -0700)] 
Merge pull request #1808 from ichernev/optimize_clone

Optimize clone

11 years agoAdd test for momentProperties and cloning 1808/head
Iskren Chernev [Wed, 30 Jul 2014 05:25:04 +0000 (22:25 -0700)] 
Add test for momentProperties and cloning

11 years agomoar speed
Isaac Cambron [Mon, 21 Jul 2014 05:22:34 +0000 (01:22 -0400)] 
moar speed

11 years agooptimizing clone first cut
Isaac Cambron [Mon, 21 Jul 2014 04:50:38 +0000 (00:50 -0400)] 
optimizing clone first cut

11 years agogrunt-jscs-checker renamed to grunt-jscs
Iskren Chernev [Wed, 30 Jul 2014 05:30:05 +0000 (22:30 -0700)] 
grunt-jscs-checker renamed to grunt-jscs

11 years agoMerge pull request #1807 from ichernev/fix-remaining-lang
Iskren Ivov Chernev [Wed, 30 Jul 2014 05:15:23 +0000 (22:15 -0700)] 
Merge pull request #1807 from ichernev/fix-remaining-lang

Convert 4 remaining languages to locale

11 years agoConvert 4 remaining languages to locale 1807/head
Iskren Chernev [Tue, 29 Jul 2014 16:33:24 +0000 (09:33 -0700)] 
Convert 4 remaining languages to locale

11 years agoAdd a newline at the end of component.json
Iskren Chernev [Wed, 30 Jul 2014 04:38:42 +0000 (21:38 -0700)] 
Add a newline at the end of component.json

11 years agoAdd package_json grunt task to update package.json
Iskren Chernev [Wed, 30 Jul 2014 04:36:30 +0000 (21:36 -0700)] 
Add package_json grunt task to update package.json

package.json contains a list of locale files, that was manually updated until
now. This PR adds a grunt task to update package.json and registers it to run
on release.

fixes #1766

11 years agoMerge pull request #1784 from 97jaz/develop
Iskren Chernev [Fri, 25 Jul 2014 06:17:15 +0000 (23:17 -0700)] 
Merge pull request #1784 from 97jaz/develop

11 years agoAdds comma between day-of-month and year for en-US locale.
Jon Zeppieri [Sat, 19 Jul 2014 00:42:35 +0000 (20:42 -0400)] 
Adds comma between day-of-month and year for en-US locale.

Specifically:
- LL   => 'MMMM D, YYYY'
- LLL  => 'MMMM D, YYYY LT'
- LLLL => ''dddd, MMMM D, YYYY LT'

... and similarly for the lowercase variants.

The use of a comma between the day-of-month and year is standard
practice in US English. See:
- ICU docs [http://demo.icu-project.org/icu-bin/locexp?_=en_US]
  (under Date & Time Patterns)
- Chicago Manual of Style (by way of the Library of Congress)
  [http://lcweb2.loc.gov/ammem/ndlpedit/handbook/numberdate.html]
- Wikipedia [http://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States]

11 years agoMerge pull request #1761 from icambron/language_rework
Iskren Ivov Chernev [Fri, 25 Jul 2014 06:05:48 +0000 (23:05 -0700)] 
Merge pull request #1761 from icambron/language_rework

s/lang/locale

11 years agofix jsc error 1761/head
Isaac Cambron [Thu, 24 Jul 2014 22:33:25 +0000 (18:33 -0400)] 
fix jsc error

11 years agofixing tests
Isaac Cambron [Thu, 24 Jul 2014 22:31:06 +0000 (18:31 -0400)] 
fixing tests

11 years agosome reverse compatibility
Isaac Cambron [Thu, 24 Jul 2014 22:21:35 +0000 (18:21 -0400)] 
some reverse compatibility

11 years agoFix deprecation warning on moment().locale()
Isaac Cambron [Wed, 23 Jul 2014 04:13:07 +0000 (00:13 -0400)] 
Fix deprecation warning on moment().locale()

11 years agodefineLocale() now returns the actual locale. Removed tests for the return statement...
Isaac Cambron [Wed, 23 Jul 2014 03:52:55 +0000 (23:52 -0400)] 
defineLocale() now returns the actual locale. Removed tests for the return statement in the locale definitions.

11 years agoMerge pull request #1789 from vajradog/develop
Isaac Cambron [Tue, 22 Jul 2014 15:16:58 +0000 (11:16 -0400)] 
Merge pull request #1789 from vajradog/develop

Tibetan localization

11 years agofixed spacing 1789/head
vajradog [Tue, 22 Jul 2014 03:44:09 +0000 (23:44 -0400)] 
fixed spacing

11 years agomore changes to calendar next week
vajradog [Tue, 22 Jul 2014 03:39:26 +0000 (23:39 -0400)] 
more changes to calendar next week

11 years agofixed more errors and whitespaces
vajradog [Tue, 22 Jul 2014 03:34:09 +0000 (23:34 -0400)] 
fixed more errors and whitespaces

11 years agodeleted some whitespaces and changed date formatting
vajradog [Tue, 22 Jul 2014 03:29:42 +0000 (23:29 -0400)] 
deleted some whitespaces and changed date formatting

11 years agocorrected some assertions in the Tibetan Localization
vajradog [Tue, 22 Jul 2014 03:11:26 +0000 (23:11 -0400)] 
corrected some assertions in the Tibetan Localization

Date formatting in Tibetan can be a bit tricky

11 years agodeleted whitespace in Tibetan localization
vajradog [Tue, 22 Jul 2014 02:37:26 +0000 (22:37 -0400)] 
deleted whitespace in Tibetan localization

11 years agoTibetan localization
vajradog [Tue, 22 Jul 2014 02:21:53 +0000 (22:21 -0400)] 
Tibetan localization

11 years agoMerge pull request #1786 from wernerm/develop
Isaac Cambron [Mon, 21 Jul 2014 21:08:02 +0000 (17:08 -0400)] 
Merge pull request #1786 from wernerm/develop

Added Afrikaans translation

11 years agoAdded Afrikaans language test file 1786/head
Werner Mollentze [Mon, 21 Jul 2014 20:09:38 +0000 (22:09 +0200)] 
Added Afrikaans language test file

11 years agoUpdate af.js
Werner Mollentze [Mon, 21 Jul 2014 20:07:39 +0000 (22:07 +0200)] 
Update af.js

11 years agoAdded Afrikaans translation
Werner Mollentze [Mon, 21 Jul 2014 07:19:59 +0000 (09:19 +0200)] 
Added Afrikaans translation

11 years agoMerge pull request #1778 from gholadr/develop
Isaac Cambron [Mon, 21 Jul 2014 02:58:55 +0000 (22:58 -0400)] 
Merge pull request #1778 from gholadr/develop

Myanmar localization