]>
git.ipfire.org Git - thirdparty/moment.git/log
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"
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
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
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
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
Iskren Ivov Chernev [Fri, 29 Mar 2013 16:37:19 +0000 (09:37 -0700)]
Merge pull request #696 from tricknotes/modify-filetype
Remove executable bit from readme and package.json
Ryunosuke SATO [Thu, 28 Mar 2013 11:22:40 +0000 (20:22 +0900)]
Modify filetype
- 755 -> 644
These files doesn't have to have execute authority.
quietmint [Tue, 26 Mar 2013 12:31:43 +0000 (08:31 -0400)]
Removed regex in endOf()
quietmint [Tue, 26 Mar 2013 12:08:23 +0000 (08:08 -0400)]
Revert "Normalize line endings"
This reverts commit
ad67205c80ee9511c2866a2d75ebf3469334ed0d .
Tim Wood [Mon, 25 Mar 2013 17:26:46 +0000 (10:26 -0700)]
merging in grunt 0.4
Tim Wood [Mon, 25 Mar 2013 17:20:03 +0000 (10:20 -0700)]
Merge branch 'feature/grunt-0.4' into develop
* feature/grunt-0.4:
building with new grunt version
Upgrading from 1.0 to 2.0 uglify version
Fixing travis grunt install via http://www.mattgoldspink.co.uk/2013/02/10/using-travis-ci-with-grunt-0-4-x/
Fix watch plugin
Fix jshint errors
Add minwithcomments and minlang into release tasks
fix zone and zones tasks
fix minwithcomments task
fix minlang task
Add concatlang in release task
fix concatlang taks
Update core task to grunt plugin: min task → grunt-contrib-uglify plugin
add the grunt-contrib-uglify plugin
Add grunt-contrib-concat plugin
Remove nodeunit core task. There is the grunt-contrib-nodeunit plugin instead of it.
Fix error from jshint: Missing space after 'function'
update jshint plugin
upgrade grunt from 0.3 to 0.4 (changed the test and lint plugin)
import project metadata into the grunt config
Rename grunt.js to Gruntfile.js
quietmint [Sat, 23 Mar 2013 00:37:24 +0000 (20:37 -0400)]
startOf and endOf accept abbreviated units
quietmint [Sat, 23 Mar 2013 00:35:54 +0000 (20:35 -0400)]
Normalize line endings
Tim Wood [Sun, 17 Mar 2013 22:26:14 +0000 (15:26 -0700)]
Merge pull request #678 from TerraPass/fix-ukrainian-genitive
A fix for Ukrainian (uk) language translation
Taras [Sun, 17 Mar 2013 09:43:33 +0000 (11:43 +0200)]
Changed line endings in lang/uk.js back to follow UNIX convention.
Taras [Sat, 16 Mar 2013 16:09:02 +0000 (18:09 +0200)]
Updated Ukrainian (uk) translation test according to latest changes.
Taras [Sat, 16 Mar 2013 14:19:32 +0000 (16:19 +0200)]
Made amendments to Ukrainian (uk) localization.
Changed the way in which 'Last %weekday%' calendar dates are written by
making it more in line with modern grammar rules, added genitive case
for weekdays. Thus fixed an issue with displaying calendar dates as
'Last %weekday%', where nominative case was incorrectly used instead of
accusative.
Tim Wood [Tue, 12 Mar 2013 21:44:55 +0000 (14:44 -0700)]
Merge pull request #672 from irakli-janiashvili/develop
added Georgian (ka) language
Irakli Janiashvili [Sat, 9 Mar 2013 23:07:54 +0000 (03:07 +0400)]
added Georgian (ka) language
Tim Wood [Sat, 9 Mar 2013 21:21:07 +0000 (13:21 -0800)]
adding tests for shorthand zone setters via -15 to +15
Tim Wood [Sat, 9 Mar 2013 21:11:59 +0000 (13:11 -0800)]
adding tests for parsing strings for timezone info
Tim Wood [Sat, 9 Mar 2013 04:32:33 +0000 (20:32 -0800)]
undoing grunt task test files
Tim Wood [Sat, 9 Mar 2013 04:31:34 +0000 (20:31 -0800)]
fixing travis
Tim Wood [Sat, 9 Mar 2013 04:24:13 +0000 (20:24 -0800)]
adding tests for adding/subtracting over dst
Tim Wood [Fri, 8 Mar 2013 18:42:50 +0000 (10:42 -0800)]
adding some tests for zones outside the -12 to +12 range
Tim Wood [Fri, 8 Mar 2013 18:29:33 +0000 (10:29 -0800)]
adding zone tests for isSame, isBefore, and isAfter
Tim Wood [Fri, 8 Mar 2013 04:34:06 +0000 (20:34 -0800)]
zones outputting correct timestamped date with toDate
Tim Wood [Fri, 8 Mar 2013 04:30:19 +0000 (20:30 -0800)]
zone tests for cloning, start/endof, resetting offset with local and utc
Tim Wood [Fri, 8 Mar 2013 03:51:31 +0000 (19:51 -0800)]
adding tests for unix timestamp and unix millisecond offset
Tim Wood [Fri, 8 Mar 2013 03:42:37 +0000 (19:42 -0800)]
adding tests for diff and from
Tim Wood [Thu, 7 Mar 2013 23:21:50 +0000 (15:21 -0800)]
merging in master