]>
git.ipfire.org Git - thirdparty/moment.git/log
Gabriel Dibble [Thu, 23 May 2013 03:58:52 +0000 (21:58 -0600)]
test updates for en-GB time formatting
ex. 2:00 AM >>> 02:00
Tim Wood [Mon, 20 May 2013 17:57:44 +0000 (10:57 -0700)]
Fixing tests for #780
Tim Wood [Mon, 20 May 2013 17:56:26 +0000 (10:56 -0700)]
Merge pull request #780 from balazsmeszegeto/patch-1
Fix escaping
Tim Wood [Mon, 20 May 2013 16:38:37 +0000 (09:38 -0700)]
More tests for #788
Tim Wood [Mon, 20 May 2013 16:31:26 +0000 (09:31 -0700)]
Using first valid format when parsing multiple formats - #653 #788
Tim Wood [Mon, 20 May 2013 16:17:48 +0000 (09:17 -0700)]
Updating tests for #788
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
...
Tim Wood [Mon, 20 May 2013 16:13:46 +0000 (09:13 -0700)]
fixing jshint error
Tim Wood [Mon, 20 May 2013 15:12:02 +0000 (08:12 -0700)]
Merge pull request #781 from nostalgiaz/patch-1
Update it.js
Iskren Ivov Chernev [Fri, 17 May 2013 07:54:55 +0000 (00:54 -0700)]
Merge pull request #784 from reecefowell/develop
Add composer.json
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
Jean-Baptiste Le Duigou [Thu, 16 May 2013 08:01:21 +0000 (10:01 +0200)]
Use brackets to escape characters
Reece Fowell [Wed, 15 May 2013 12:46:28 +0000 (13:46 +0100)]
Add composer.json
Mattia Larentis [Tue, 14 May 2013 17:06:05 +0000 (19:06 +0200)]
fix test and some translations
Mattia Larentis [Tue, 14 May 2013 16:21:56 +0000 (18:21 +0200)]
Update it.js
changed "relativeTime.future" from "in" to "tra"
balazsmeszegeto [Tue, 14 May 2013 11:34:31 +0000 (13:34 +0200)]
Fix escaping
Jean-Baptiste Le Duigou [Tue, 14 May 2013 07:57:32 +0000 (09:57 +0200)]
Update br.js
Fixing broken test by escaping character
jbleduigou [Mon, 13 May 2013 10:38:34 +0000 (12:38 +0200)]
Merge branch 'feature/breton'
jbleduigou [Mon, 13 May 2013 10:36:11 +0000 (12:36 +0200)]
Fixing indentation
jbleduigou [Mon, 13 May 2013 10:35:25 +0000 (12:35 +0200)]
Fixing indentation
jbleduigou [Mon, 13 May 2013 10:28:30 +0000 (12:28 +0200)]
Fixing indentation
Tim Wood [Sat, 11 May 2013 20:00:01 +0000 (10:00 -1000)]
making startOf('week') use locale week start #727 #634 #699
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
Tim Wood [Sat, 11 May 2013 17:39:36 +0000 (19:39 +0200)]
adding isDST teste
Tim Wood [Sat, 11 May 2013 16:59:37 +0000 (18:59 +0200)]
fixing zone getter and setter test
Tim Wood [Sat, 11 May 2013 16:49:28 +0000 (09:49 -0700)]
merging develop into feature/zone-setter
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
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...
Oire [Wed, 8 May 2013 14:27:49 +0000 (17:27 +0300)]
Updated minified files
jbleduigou [Tue, 7 May 2013 08:49:06 +0000 (10:49 +0200)]
Added mutations for years
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.
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
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
Oire [Sun, 28 Apr 2013 12:44:51 +0000 (15:44 +0300)]
Corrected Ukrainian and optimized Russian
Iskren Chernev [Sat, 27 Apr 2013 07:02:41 +0000 (00:02 -0700)]
toJSON should not call lang.postformat
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
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
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
mechuwind [Fri, 26 Apr 2013 07:56:26 +0000 (10:56 +0300)]
Update nn.js
mechuwind [Fri, 26 Apr 2013 07:54:56 +0000 (10:54 +0300)]
Update nn.js
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
Iskren Chernev [Fri, 26 Apr 2013 07:48:24 +0000 (00:48 -0700)]
Better tests for (iso)weekYear and (iso)weekday and formatting
mechuwind [Thu, 25 Apr 2013 09:15:59 +0000 (12:15 +0300)]
Update nn.js
mechuwind [Thu, 25 Apr 2013 09:14:09 +0000 (12:14 +0300)]
Update nn.js
mechuwind [Thu, 25 Apr 2013 09:10:22 +0000 (12:10 +0300)]
Update nn.js
mechuwind [Thu, 25 Apr 2013 07:24:33 +0000 (10:24 +0300)]
Create nn.js
Norwegian nynorsk
mechuwind [Thu, 25 Apr 2013 07:24:03 +0000 (10:24 +0300)]
Create nn.js
Norwegian nynorsk
Iskren Chernev [Wed, 24 Apr 2013 09:54:34 +0000 (02:54 -0700)]
Fixed test/lang to take into account e/E format token
Iskren Chernev [Wed, 24 Apr 2013 08:48:37 +0000 (01:48 -0700)]
Added tests for the (iso)weekday functions
Iskren Chernev [Wed, 24 Apr 2013 08:48:09 +0000 (01:48 -0700)]
Fixed jshint issues in moment.js
Iskren Chernev [Mon, 22 Apr 2013 09:35:50 +0000 (02:35 -0700)]
Added weekday and isoWeekday with format tokens e/E
Iskren Chernev [Mon, 22 Apr 2013 09:23:07 +0000 (02:23 -0700)]
Added weekYear with format gg/gggg/ggggg
Iskren Chernev [Mon, 22 Apr 2013 09:05:27 +0000 (02:05 -0700)]
Added iso year formatting tests
Iskren Chernev [Mon, 22 Apr 2013 08:55:28 +0000 (01:55 -0700)]
Added tests for isoWeekYear
Iskren Chernev [Mon, 22 Apr 2013 08:36:50 +0000 (01:36 -0700)]
Changed isoYear to isoWeekYear
Iskren Chernev [Sat, 30 Mar 2013 05:02:30 +0000 (22:02 -0700)]
Added moment.fn.isoYear and format tokens
jbleduigou [Wed, 24 Apr 2013 08:28:35 +0000 (10:28 +0200)]
And more
jbleduigou [Wed, 24 Apr 2013 08:00:42 +0000 (10:00 +0200)]
Update header
jbleduigou [Wed, 24 Apr 2013 08:00:14 +0000 (10:00 +0200)]
More tests, more translations
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
jbleduigou [Tue, 23 Apr 2013 15:44:40 +0000 (17:44 +0200)]
Updating header (comments)
jbleduigou [Tue, 23 Apr 2013 15:42:19 +0000 (17:42 +0200)]
Updating months
jbleduigou [Tue, 23 Apr 2013 15:40:12 +0000 (17:40 +0200)]
adding breton language
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
Tim Wood [Mon, 8 Apr 2013 16:26:02 +0000 (09:26 -0700)]
Merge pull request #714 from icambron/simplified-units
Simplified units
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
Isaac Cambron [Mon, 8 Apr 2013 04:49:57 +0000 (00:49 -0400)]
terser normalizeUnits
Isaac Cambron [Mon, 8 Apr 2013 03:48:48 +0000 (23:48 -0400)]
unit normalization for diff()
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
Isaac Cambron [Sun, 7 Apr 2013 03:51:48 +0000 (23:51 -0400)]
cleaning up pull request
Isaac Cambron [Sun, 7 Apr 2013 03:49:37 +0000 (23:49 -0400)]
preferring single quotes
Isaac Cambron [Sun, 7 Apr 2013 03:48:07 +0000 (23:48 -0400)]
reverting whitespace change
Isaac Cambron [Sun, 7 Apr 2013 03:42:03 +0000 (23:42 -0400)]
internal normalization of unit strings
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
Iskren Chernev [Sat, 6 Apr 2013 06:44:24 +0000 (23:44 -0700)]
Removed commented code
Iskren Chernev [Tue, 2 Apr 2013 07:18:20 +0000 (00:18 -0700)]
Added support for three word arabic months
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
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
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
mar-chi-pan [Wed, 20 Mar 2013 19:05:23 +0000 (19:05 +0000)]
Update ar.js
Update ll of 'format' in tests
mar [Wed, 20 Mar 2013 18:59:11 +0000 (18:59 +0000)]
Partially update ar tests 'format'
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.
Iskren Ivov Chernev [Sat, 6 Apr 2013 06:38:58 +0000 (23:38 -0700)]
Merge pull request #709 from k2s/develop
added slovak language
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
Martin Minka [Thu, 4 Apr 2013 00:10:52 +0000 (02:10 +0200)]
added slovak language
Isaac Cambron [Wed, 3 Apr 2013 17:39:25 +0000 (13:39 -0400)]
fix as() tests
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
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
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.
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
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
Roger Spring [Mon, 1 Apr 2013 05:23:10 +0000 (22:23 -0700)]
Added dot net style duration parser
Isaac Cambron [Sun, 31 Mar 2013 19:45:19 +0000 (15:45 -0400)]
adding as() and get() to durations
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
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
quietmint [Sat, 23 Mar 2013 22:43:42 +0000 (18:43 -0400)]
String setters for moment#day and moment#month
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
Iskren Chernev [Tue, 19 Mar 2013 06:26:03 +0000 (23:26 -0700)]
Refactored * 100 / 100 to toFixed(2)
Iskren Chernev [Tue, 19 Mar 2013 06:20:41 +0000 (23:20 -0700)]
Fixed duration to ms conversion
An year was converted to 12 months and a month is 30 days, so a year was 360
days. Fixed that by taking into account full years when computing milliseconds
since unix epoch and fixing duration.asMonth to convert back a year to 12
months.
Iskren Ivov Chernev [Sat, 30 Mar 2013 05:51:31 +0000 (22:51 -0700)]
Merge pull request #693 from quietmint/feature/startof-abbreviations
Make moment#startOf and moment#endOf accept abbreviated units