]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
12 years agoMoving parse regex to language as well as isPM 791/head
Tim Wood [Thu, 23 May 2013 16:18:18 +0000 (09:18 -0700)] 
Moving parse regex to language as well as isPM

12 years agoMerge branch 'develop' into feature/ampm
Tim Wood [Thu, 23 May 2013 16:08:14 +0000 (09:08 -0700)] 
Merge branch 'develop' into feature/ampm

* develop: (21 commits)
  Fixing tests for #780
  More tests for #788
  Using first valid format when parsing multiple formats - #653 #788
  Updating tests for #788
  fixing jshint error
  Use brackets to escape characters
  Add composer.json
  fix test and some translations
  Update it.js
  Fix escaping
  Update br.js
  Fixing indentation
  Fixing indentation
  Fixing indentation
  Added mutations for years
  And more
  Update header
  More tests, more translations
  Updating header (comments)
  Updating months
  ...

12 years agoFixing tests for #780
Tim Wood [Mon, 20 May 2013 17:57:44 +0000 (10:57 -0700)] 
Fixing tests for #780

12 years agoMerge pull request #780 from balazsmeszegeto/patch-1
Tim Wood [Mon, 20 May 2013 17:56:26 +0000 (10:56 -0700)] 
Merge pull request #780 from balazsmeszegeto/patch-1

Fix escaping

12 years agoMore tests for #788
Tim Wood [Mon, 20 May 2013 16:38:37 +0000 (09:38 -0700)] 
More tests for #788

12 years agoUsing first valid format when parsing multiple formats - #653 #788
Tim Wood [Mon, 20 May 2013 16:31:26 +0000 (09:31 -0700)] 
Using first valid format when parsing multiple formats - #653 #788

12 years agoUpdating tests for #788
Tim Wood [Mon, 20 May 2013 16:17:48 +0000 (09:17 -0700)] 
Updating tests for #788

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Mon, 20 May 2013 16:13:59 +0000 (09:13 -0700)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment: (53 commits)
  Use brackets to escape characters
  Add composer.json
  fix test and some translations
  Update it.js
  Update br.js
  Fixing indentation
  Fixing indentation
  Fixing indentation
  making startOf('week') use locale week start #727 #634 #699
  adding isDST teste
  fixing zone getter and setter test
  Updated minified files
  Added mutations for years
  Format function now uses "instanceof" on a var rather than "typeof" on that var's call to determine if the variable is a function. This fixes an incompatibility with ClojureScript, which defines String.prototype.call as a function.
  Corrected Ukrainian and optimized Russian
  toJSON should not call lang.postformat
  set hook to add ordinal for Chinese(cn && tw) with modifing the tests
  Update nn.js
  Update nn.js
  Better tests for (iso)weekYear and (iso)weekday and formatting
  ...

12 years agofixing jshint error
Tim Wood [Mon, 20 May 2013 16:13:46 +0000 (09:13 -0700)] 
fixing jshint error

12 years agoMoving isPM check to the language object so it can be overwritten by different languages
Tim Wood [Mon, 20 May 2013 15:18:15 +0000 (08:18 -0700)] 
Moving isPM check to the language object so it can be overwritten by different languages

12 years agoMerge pull request #781 from nostalgiaz/patch-1
Tim Wood [Mon, 20 May 2013 15:12:02 +0000 (08:12 -0700)] 
Merge pull request #781 from nostalgiaz/patch-1

Update it.js

12 years agoMerge pull request #784 from reecefowell/develop
Iskren Ivov Chernev [Fri, 17 May 2013 07:54:55 +0000 (00:54 -0700)] 
Merge pull request #784 from reecefowell/develop

Add composer.json

12 years agoMerge pull request #767 from jbleduigou/develop
Tim Wood [Fri, 17 May 2013 04:56:47 +0000 (21:56 -0700)] 
Merge pull request #767 from jbleduigou/develop

Added support for breton language

12 years agoUse brackets to escape characters 767/head
Jean-Baptiste Le Duigou [Thu, 16 May 2013 08:01:21 +0000 (10:01 +0200)] 
Use brackets to escape characters

12 years agoAdd composer.json 784/head
Reece Fowell [Wed, 15 May 2013 12:46:28 +0000 (13:46 +0100)] 
Add composer.json

12 years agofix test and some translations 781/head
Mattia Larentis [Tue, 14 May 2013 17:06:05 +0000 (19:06 +0200)] 
fix test and some translations

12 years agoUpdate it.js
Mattia Larentis [Tue, 14 May 2013 16:21:56 +0000 (18:21 +0200)] 
Update it.js

changed "relativeTime.future" from "in" to "tra"

12 years agoFix escaping 780/head
balazsmeszegeto [Tue, 14 May 2013 11:34:31 +0000 (13:34 +0200)] 
Fix escaping

12 years agoUpdate br.js
Jean-Baptiste Le Duigou [Tue, 14 May 2013 07:57:32 +0000 (09:57 +0200)] 
Update br.js

Fixing broken test by escaping character

12 years agoMerge branch 'feature/breton'
jbleduigou [Mon, 13 May 2013 10:38:34 +0000 (12:38 +0200)] 
Merge branch 'feature/breton'

12 years agoFixing indentation
jbleduigou [Mon, 13 May 2013 10:36:11 +0000 (12:36 +0200)] 
Fixing indentation

12 years agoFixing indentation
jbleduigou [Mon, 13 May 2013 10:35:25 +0000 (12:35 +0200)] 
Fixing indentation

12 years agoFixing indentation
jbleduigou [Mon, 13 May 2013 10:28:30 +0000 (12:28 +0200)] 
Fixing indentation

12 years agomaking startOf('week') use locale week start #727 #634 #699
Tim Wood [Sat, 11 May 2013 20:00:01 +0000 (10:00 -1000)] 
making startOf('week') use locale week start #727 #634 #699

12 years agoMerge pull request #671 from timrwood/feature/zone-setter
Tim Wood [Sat, 11 May 2013 18:08:27 +0000 (11:08 -0700)] 
Merge pull request #671 from timrwood/feature/zone-setter

Making moment#zone a setter

12 years agoadding isDST teste 671/head
Tim Wood [Sat, 11 May 2013 17:39:36 +0000 (19:39 +0200)] 
adding isDST teste

12 years agofixing zone getter and setter test
Tim Wood [Sat, 11 May 2013 16:59:37 +0000 (18:59 +0200)] 
fixing zone getter and setter test

12 years agomerging develop into feature/zone-setter
Tim Wood [Sat, 11 May 2013 16:49:28 +0000 (09:49 -0700)] 
merging develop into feature/zone-setter

12 years agoMerge pull request #770 from Oire/develop
Iskren Ivov Chernev [Fri, 10 May 2013 07:45:22 +0000 (00:45 -0700)] 
Merge pull request #770 from Oire/develop

Updated minified lang files

12 years agoMerge pull request #766 from gensym/develop
Iskren Ivov Chernev [Thu, 9 May 2013 06:38:33 +0000 (23:38 -0700)] 
Merge pull request #766 from gensym/develop

Format function now uses "instanceof" on a var rather than "typeof" on t...

12 years agoUpdated minified files 770/head
Oire [Wed, 8 May 2013 14:27:49 +0000 (17:27 +0300)] 
Updated minified files

12 years agoAdded mutations for years
jbleduigou [Tue, 7 May 2013 08:49:06 +0000 (10:49 +0200)] 
Added mutations for years

12 years agoFormat function now uses "instanceof" on a var rather than "typeof" on that var's... 766/head
gensym [Sun, 5 May 2013 04:17:20 +0000 (23:17 -0500)] 
Format function now uses "instanceof" on a var rather than "typeof" on that var's call to determine if the variable is a function.
This fixes an incompatibility with ClojureScript, which defines String.prototype.call as a function.

12 years agoMerge pull request #753 from Oire/develop
Iskren Ivov Chernev [Mon, 29 Apr 2013 19:01:32 +0000 (12:01 -0700)] 
Merge pull request #753 from Oire/develop

Corrected Ukrainian and optimized Russian

12 years agoMerge pull request #751 from ichernev/bugfix/tojson-skip-postformat
Tim Wood [Mon, 29 Apr 2013 17:56:45 +0000 (10:56 -0700)] 
Merge pull request #751 from ichernev/bugfix/tojson-skip-postformat

toJSON should not call lang.postformat

12 years agoCorrected Ukrainian and optimized Russian 753/head
Oire [Sun, 28 Apr 2013 12:44:51 +0000 (15:44 +0300)] 
Corrected Ukrainian and optimized Russian

12 years agotoJSON should not call lang.postformat 751/head
Iskren Chernev [Sat, 27 Apr 2013 07:02:41 +0000 (00:02 -0700)] 
toJSON should not call lang.postformat

12 years agoMerge pull request #748 from mechuwind/develop
Iskren Ivov Chernev [Sat, 27 Apr 2013 06:45:54 +0000 (23:45 -0700)] 
Merge pull request #748 from mechuwind/develop

Added Norwegian nynorsk localization

12 years agoMerge pull request #750 from jiyinyiyong/develop
Iskren Ivov Chernev [Sat, 27 Apr 2013 06:41:35 +0000 (23:41 -0700)] 
Merge pull request #750 from jiyinyiyong/develop

set hook to add ordinal for Chinese(cn && tw) with modifing the tests

12 years agoset hook to add ordinal for Chinese(cn && tw) with modifing the tests 750/head
jiyinyiyong [Sat, 27 Apr 2013 03:44:44 +0000 (11:44 +0800)] 
set hook to add ordinal for Chinese(cn && tw) with modifing the tests

12 years agoUpdate nn.js 748/head
mechuwind [Fri, 26 Apr 2013 07:56:26 +0000 (10:56 +0300)] 
Update nn.js

12 years agoUpdate nn.js
mechuwind [Fri, 26 Apr 2013 07:54:56 +0000 (10:54 +0300)] 
Update nn.js

12 years agoMerge pull request #699 from ichernev/features/iso-year
Iskren Ivov Chernev [Fri, 26 Apr 2013 07:52:41 +0000 (00:52 -0700)] 
Merge pull request #699 from ichernev/features/iso-year

Added isoYear, isoWeekday and weekday and format tokens gggg, GGGG, e, E

12 years agoBetter tests for (iso)weekYear and (iso)weekday and formatting 699/head
Iskren Chernev [Fri, 26 Apr 2013 07:48:24 +0000 (00:48 -0700)] 
Better tests for (iso)weekYear and (iso)weekday and formatting

12 years agoUpdate nn.js
mechuwind [Thu, 25 Apr 2013 09:15:59 +0000 (12:15 +0300)] 
Update nn.js

12 years agoUpdate nn.js
mechuwind [Thu, 25 Apr 2013 09:14:09 +0000 (12:14 +0300)] 
Update nn.js

12 years agoUpdate nn.js
mechuwind [Thu, 25 Apr 2013 09:10:22 +0000 (12:10 +0300)] 
Update nn.js

12 years agoCreate nn.js 746/head
mechuwind [Thu, 25 Apr 2013 07:24:33 +0000 (10:24 +0300)] 
Create nn.js

Norwegian nynorsk

12 years agoCreate nn.js
mechuwind [Thu, 25 Apr 2013 07:24:03 +0000 (10:24 +0300)] 
Create nn.js

Norwegian nynorsk

12 years agoFixed test/lang to take into account e/E format token
Iskren Chernev [Wed, 24 Apr 2013 09:54:34 +0000 (02:54 -0700)] 
Fixed test/lang to take into account e/E format token

12 years agoAdded tests for the (iso)weekday functions
Iskren Chernev [Wed, 24 Apr 2013 08:48:37 +0000 (01:48 -0700)] 
Added tests for the (iso)weekday functions

12 years agoFixed jshint issues in moment.js
Iskren Chernev [Wed, 24 Apr 2013 08:48:09 +0000 (01:48 -0700)] 
Fixed jshint issues in moment.js

12 years agoAdded weekday and isoWeekday with format tokens e/E
Iskren Chernev [Mon, 22 Apr 2013 09:35:50 +0000 (02:35 -0700)] 
Added weekday and isoWeekday with format tokens e/E

12 years agoAdded weekYear with format gg/gggg/ggggg
Iskren Chernev [Mon, 22 Apr 2013 09:23:07 +0000 (02:23 -0700)] 
Added weekYear with format gg/gggg/ggggg

12 years agoAdded iso year formatting tests
Iskren Chernev [Mon, 22 Apr 2013 09:05:27 +0000 (02:05 -0700)] 
Added iso year formatting tests

12 years agoAdded tests for isoWeekYear
Iskren Chernev [Mon, 22 Apr 2013 08:55:28 +0000 (01:55 -0700)] 
Added tests for isoWeekYear

12 years agoChanged isoYear to isoWeekYear
Iskren Chernev [Mon, 22 Apr 2013 08:36:50 +0000 (01:36 -0700)] 
Changed isoYear to isoWeekYear

12 years agoAdded moment.fn.isoYear and format tokens
Iskren Chernev [Sat, 30 Mar 2013 05:02:30 +0000 (22:02 -0700)] 
Added moment.fn.isoYear and format tokens

12 years agoAnd more
jbleduigou [Wed, 24 Apr 2013 08:28:35 +0000 (10:28 +0200)] 
And more

12 years agoUpdate header
jbleduigou [Wed, 24 Apr 2013 08:00:42 +0000 (10:00 +0200)] 
Update header

12 years agoMore tests, more translations
jbleduigou [Wed, 24 Apr 2013 08:00:14 +0000 (10:00 +0200)] 
More tests, more translations

12 years agoMerge pull request #730 from MasseGuillaume/develop
Iskren Ivov Chernev [Wed, 24 Apr 2013 06:31:14 +0000 (23:31 -0700)] 
Merge pull request #730 from MasseGuillaume/develop

ordinals in french are only for the first day of the month

12 years agoUpdating header (comments)
jbleduigou [Tue, 23 Apr 2013 15:44:40 +0000 (17:44 +0200)] 
Updating header (comments)

12 years agoUpdating months
jbleduigou [Tue, 23 Apr 2013 15:42:19 +0000 (17:42 +0200)] 
Updating months

12 years agoadding breton language
jbleduigou [Tue, 23 Apr 2013 15:40:12 +0000 (17:40 +0200)] 
adding breton language

12 years agoordinals in french are only for the first day of the month 730/head
Guillaume Masse [Mon, 15 Apr 2013 22:37:04 +0000 (18:37 -0400)] 
ordinals in french are only for the first day of the month

12 years agoMerge pull request #714 from icambron/simplified-units
Tim Wood [Mon, 8 Apr 2013 16:26:02 +0000 (09:26 -0700)] 
Merge pull request #714 from icambron/simplified-units

Simplified units

12 years agoMerge pull request #715 from anthonyshort/patch-1
Iskren Ivov Chernev [Mon, 8 Apr 2013 08:50:34 +0000 (01:50 -0700)] 
Merge pull request #715 from anthonyshort/patch-1

Added Component [1] support

[1] https://github.com/component/component

12 years agoterser normalizeUnits 714/head
Isaac Cambron [Mon, 8 Apr 2013 04:49:57 +0000 (00:49 -0400)] 
terser normalizeUnits

12 years agounit normalization for diff()
Isaac Cambron [Mon, 8 Apr 2013 03:48:48 +0000 (23:48 -0400)] 
unit normalization for diff()

12 years agoAdded Component(1) support 715/head
Anthony Short [Sun, 7 Apr 2013 07:09:36 +0000 (17:09 +1000)] 
Added Component(1) support

By adding a component.json file we can add Moment as a dependency in Component

12 years agocleaning up pull request
Isaac Cambron [Sun, 7 Apr 2013 03:51:48 +0000 (23:51 -0400)] 
cleaning up pull request

12 years agopreferring single quotes
Isaac Cambron [Sun, 7 Apr 2013 03:49:37 +0000 (23:49 -0400)] 
preferring single quotes

12 years agoreverting whitespace change
Isaac Cambron [Sun, 7 Apr 2013 03:48:07 +0000 (23:48 -0400)] 
reverting whitespace change

12 years agointernal normalization of unit strings
Isaac Cambron [Sun, 7 Apr 2013 03:42:03 +0000 (23:42 -0400)] 
internal normalization of unit strings

12 years agoMerge pull request #712 from ichernev/bugfix/fixed-arabic-months
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:53:09 +0000 (23:53 -0700)] 
Merge pull request #712 from ichernev/bugfix/fixed-arabic-months

Bugfix/fixed arabic months

12 years agoRemoved commented code 712/head
Iskren Chernev [Sat, 6 Apr 2013 06:44:24 +0000 (23:44 -0700)] 
Removed commented code

12 years agoAdded support for three word arabic months
Iskren Chernev [Tue, 2 Apr 2013 07:18:20 +0000 (00:18 -0700)] 
Added support for three word arabic months

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:39:09 +0000 (19:39 +0000)] 
Update ar.js

More detail in parse message for ar testing

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:17:10 +0000 (19:17 +0000)] 
Update ar.js

Attempt to update 'format week' for ar tests

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:10:26 +0000 (19:10 +0000)] 
Update ar.js

Attempt to update 'format month' in tests for ar

12 years agoUpdate ar.js
mar-chi-pan [Wed, 20 Mar 2013 19:05:23 +0000 (19:05 +0000)] 
Update ar.js

Update ll of 'format' in tests

12 years agoPartially update ar tests 'format'
mar [Wed, 20 Mar 2013 18:59:11 +0000 (18:59 +0000)] 
Partially update ar tests 'format'

12 years agoUpdate ar.js
mar-chi-pan [Tue, 5 Mar 2013 12:42:39 +0000 (12:42 +0000)] 
Update ar.js

Two versions in months together and changes in weekdays,
so that the translation is more general.

12 years agoMerge pull request #709 from k2s/develop
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:38:58 +0000 (23:38 -0700)] 
Merge pull request #709 from k2s/develop

added slovak language

12 years agoMerge pull request #707 from icambron/durations-as-anything
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:35:27 +0000 (23:35 -0700)] 
Merge pull request #707 from icambron/durations-as-anything

fix as() tests

12 years agoadded slovak language 709/head
Martin Minka [Thu, 4 Apr 2013 00:10:52 +0000 (02:10 +0200)] 
added slovak language

12 years agofix as() tests 707/head
Isaac Cambron [Wed, 3 Apr 2013 17:39:25 +0000 (13:39 -0400)] 
fix as() tests

12 years agoMerge pull request #701 from icambron/durations-as-anything
Iskren Ivov Chernev [Wed, 3 Apr 2013 16:19:45 +0000 (09:19 -0700)] 
Merge pull request #701 from icambron/durations-as-anything

adding as() and get() to durations

12 years agoMerge pull request #706 from ichernev/bug/nodeunit-dep
Iskren Ivov Chernev [Wed, 3 Apr 2013 07:08:00 +0000 (00:08 -0700)] 
Merge pull request #706 from ichernev/bug/nodeunit-dep

Added nodeunit as devDependency

12 years agoAdded nodeunit as devDependency 706/head
Iskren Chernev [Wed, 3 Apr 2013 07:01:22 +0000 (08:01 +0100)] 
Added nodeunit as devDependency

nodeunit is needed as a direct dependency for grunt tasks zone and zones.

12 years agoMerge pull request #684 from ichernev/bug/fix-duration-as-getters
Iskren Ivov Chernev [Tue, 2 Apr 2013 06:55:39 +0000 (23:55 -0700)] 
Merge pull request #684 from ichernev/bug/fix-duration-as-getters

Fix duration "as" getters

12 years agoMerge pull request #702 from spring1975/feature/dot-net-duration
Iskren Ivov Chernev [Tue, 2 Apr 2013 06:53:12 +0000 (23:53 -0700)] 
Merge pull request #702 from spring1975/feature/dot-net-duration

Added dot net style duration parser

12 years agoAdded dot net style duration parser 702/head
Roger Spring [Mon, 1 Apr 2013 05:23:10 +0000 (22:23 -0700)] 
Added dot net style duration parser

12 years agoadding as() and get() to durations 701/head
Isaac Cambron [Sun, 31 Mar 2013 19:45:19 +0000 (15:45 -0400)] 
adding as() and get() to durations

12 years agofixing tests for #690 so that they do not fail on the 31st of a month
Tim Wood [Sun, 31 Mar 2013 17:47:52 +0000 (10:47 -0700)] 
fixing tests for #690 so that they do not fail on the 31st of a month

12 years agoMerge pull request #690 from quietmint/feature/string-setter
Tim Wood [Sun, 31 Mar 2013 17:14:57 +0000 (10:14 -0700)] 
Merge pull request #690 from quietmint/feature/string-setter

Create String setters for moment#month and moment#day

12 years agoString setters for moment#day and moment#month 690/head
quietmint [Sat, 23 Mar 2013 22:43:42 +0000 (18:43 -0400)] 
String setters for moment#day and moment#month

12 years agoMerge pull request #656 from ichernev/fix-latvian-short-format
Iskren Ivov Chernev [Sat, 30 Mar 2013 08:09:22 +0000 (01:09 -0700)] 
Merge pull request #656 from ichernev/fix-latvian-short-format

Changed short format for Latvian to DD.MM.YYYY

12 years agoRefactored * 100 / 100 to toFixed(2) 684/head
Iskren Chernev [Tue, 19 Mar 2013 06:26:03 +0000 (23:26 -0700)] 
Refactored * 100 / 100 to toFixed(2)