]>
git.ipfire.org Git - thirdparty/moment.git/log
mechuwind [Tue, 30 Jul 2013 12:44:07 +0000 (14:44 +0200)]
Update nn.js
Change the long date format, so that it follows the most common Norwegian system for dates (DD.MM.YYYY). Ref. http://en.wikipedia.org/wiki/Date_and_time_notation_in_Norway.
Iskren Ivov Chernev [Tue, 30 Jul 2013 05:04:47 +0000 (22:04 -0700)]
Merge pull request #950 from mroderick/hotfix/2.1.0-add-bower.json
Add bower.json
Tim Wood [Mon, 29 Jul 2013 16:19:25 +0000 (09:19 -0700)]
Merge pull request #951 from ichernev/bugfix/argentina-dst-failing-test
Fix broken lang tests in Argentina
Iskren Ivov Chernev [Sat, 27 Jul 2013 07:30:23 +0000 (00:30 -0700)]
Merge pull request #912 from ichernev/feature/create-defaults-to-current-date
Moment creation defaults to current date
Iskren Ivov Chernev [Sat, 27 Jul 2013 07:06:44 +0000 (00:06 -0700)]
Merge pull request #949 from tkallevik/patch-1
Change the Norwegian language configuration to follow the most common date format
Iskren Ivov Chernev [Sat, 27 Jul 2013 06:57:32 +0000 (23:57 -0700)]
Merge pull request #915 from ichernev/features/invalid-at
Added invalidAt function to get invalid unit index
Thomas Kallevik [Fri, 26 Jul 2013 08:04:49 +0000 (10:04 +0200)]
Fixed the unit test for the Norwegian language configuration
Iskren Chernev [Thu, 25 Jul 2013 05:03:50 +0000 (02:03 -0300)]
Fix broken lang tests in Argentina
This was reported in #816.
It happens because there is DST in Argentina on 30 Dec 2007.
Morgan Roderick [Wed, 24 Jul 2013 14:36:12 +0000 (16:36 +0200)]
Add bower.json
Eventually Bower is likely to become incompatible with the component.json format, and the warnings will turn to errors when installing with Bower.
Thomas Kallevik [Wed, 24 Jul 2013 06:59:38 +0000 (08:59 +0200)]
Update nb.js
Change the long date format, so that it follows the most common Norwegian system for dates (DD.MM.YYYY). Ref. http://en.wikipedia.org/wiki/Date_and_time_notation_in_Norway.
Tim Wood [Tue, 23 Jul 2013 16:12:24 +0000 (09:12 -0700)]
Merge pull request #911 from ichernev/feature/uninstall-lang
Added a way to uninstall a language definition
Iskren Ivov Chernev [Sat, 20 Jul 2013 21:18:48 +0000 (14:18 -0700)]
Merge pull request #938 from icambron/string-driven-getters
string-driven getters and setters
Iskren Chernev [Sat, 20 Jul 2013 21:11:20 +0000 (19:11 -0200)]
Make jshint happy
Iskren Chernev [Sun, 24 Feb 2013 09:10:30 +0000 (06:10 -0300)]
Moment creation defaults to current date
Iskren Ivov Chernev [Sat, 20 Jul 2013 16:32:12 +0000 (09:32 -0700)]
Merge pull request #910 from ichernev/bugfix/asp-net-duration-regex
AspNET duration regex now correctly handles days
Iskren Chernev [Sun, 14 Jul 2013 04:16:41 +0000 (21:16 -0700)]
AspNET duration regex now correctly handles days
Days are now completely optional and won't steal digits from the hours.
Isaac Cambron [Fri, 19 Jul 2013 13:48:11 +0000 (09:48 -0400)]
string-driven getters and setters
Tim Wood [Thu, 18 Jul 2013 16:31:45 +0000 (09:31 -0700)]
Merge pull request #930 from jrgensen/develop
allow initializing with unix timestamp as integer
Iskren Ivov Chernev [Thu, 18 Jul 2013 09:05:27 +0000 (02:05 -0700)]
Merge pull request #918 from ichernev/features/start-of-isoweek
Added start/end/same support for isoWeek
Klaus Jrgensen [Wed, 17 Jul 2013 20:02:39 +0000 (22:02 +0200)]
allow initializing with unix timestamp as integer
Iskren Chernev [Sun, 14 Jul 2013 23:31:46 +0000 (21:31 -0200)]
Added tests for start/end of isoWeek
Iskren Chernev [Sun, 14 Jul 2013 23:13:55 +0000 (21:13 -0200)]
startOf now support isoWeek
As requested by #855
Iskren Chernev [Sun, 14 Jul 2013 22:21:15 +0000 (15:21 -0700)]
Merge branch 'jshint-tests' into develop
Iskren Chernev [Sun, 14 Jul 2013 22:20:48 +0000 (15:20 -0700)]
Move all jshint files to all target
Iskren Chernev [Sun, 14 Jul 2013 22:17:51 +0000 (15:17 -0700)]
JsHint onevar all lang tests
Iskren Chernev [Sun, 14 Jul 2013 21:50:19 +0000 (14:50 -0700)]
JsHint all moment lang tests
Iskren Chernev [Sun, 14 Jul 2013 08:56:28 +0000 (01:56 -0700)]
JsHint all moment tests
Iskren Chernev [Sun, 14 Jul 2013 07:14:05 +0000 (00:14 -0700)]
Added invalidAt function to get invalid unit index
isValid is boolean, so its not very helpful in determining which section of
a date is wrong. inavlidAt returns the index of the broken token, where 0 is
year and 6 is millisecond.
Iskren Chernev [Sun, 14 Jul 2013 05:01:00 +0000 (22:01 -0700)]
Added a way to uninstall a language definition
moment.lang(key, null) now uninstalls a language. That's mostly useful to
remove auxiliary languages added during test runs.
Iskren Chernev [Sat, 13 Jul 2013 22:16:00 +0000 (15:16 -0700)]
Uncommented test for setting undefined language
Iskren Chernev [Sat, 13 Jul 2013 22:14:13 +0000 (15:14 -0700)]
Setting non-existing language in the browser now works.
Iskren Chernev [Sat, 13 Jul 2013 21:44:48 +0000 (14:44 -0700)]
Disabled test for setting unexisting language
Iskren Chernev [Sat, 13 Jul 2013 21:44:16 +0000 (14:44 -0700)]
Increase epsilon for min_max tests
Tim Wood [Sun, 7 Jul 2013 19:35:04 +0000 (12:35 -0700)]
2.1.0 release
Tim Wood [Sun, 7 Jul 2013 19:19:55 +0000 (12:19 -0700)]
Don't test JSON.stringify if it doesn't exist #867
Tim Wood [Sun, 7 Jul 2013 19:12:39 +0000 (12:12 -0700)]
Merge branch 'develop' of github.com:timrwood/moment into develop
* 'develop' of github.com:timrwood/moment:
Added tests for Albanian, see #872
Tim Wood [Sun, 7 Jul 2013 19:12:21 +0000 (12:12 -0700)]
adding note on minified language files
Tim Wood [Sun, 7 Jul 2013 18:11:48 +0000 (11:11 -0700)]
Merge pull request #876 from Oire/feature/albanian-tests
Added tests for Albanian
Oire [Thu, 4 Jul 2013 10:22:41 +0000 (13:22 +0300)]
Added tests for Albanian, see #872
Tim Wood [Tue, 2 Jul 2013 17:49:52 +0000 (10:49 -0700)]
Merge pull request #870 from ebraminio/develop
Adding Persian Support
Tim Wood [Sun, 30 Jun 2013 22:40:46 +0000 (15:40 -0700)]
Merge pull request #871 from ebraminio/patch-1
grunt is enough
Ebrahim Byagowi [Sun, 30 Jun 2013 22:21:43 +0000 (22:21 +0000)]
grunt is enough
There was not test task, `grunt` is enough for testing. In fact this was misleading for me
Ebrahim Byagowi [Sun, 30 Jun 2013 16:20:27 +0000 (16:20 +0000)]
Adding Persian Support
Tim Wood [Thu, 27 Jun 2013 19:06:52 +0000 (12:06 -0700)]
Merge pull request #863 from frasertweedale/bugfix/clone-duration
fix durations not being cloned properly
Tim Wood [Thu, 27 Jun 2013 18:56:30 +0000 (11:56 -0700)]
bubbling up values on durations when adding or subtracting
Tim Wood [Thu, 27 Jun 2013 18:20:16 +0000 (11:20 -0700)]
fixing failing dst tests
Iskren Ivov Chernev [Mon, 24 Jun 2013 15:54:05 +0000 (08:54 -0700)]
Merge pull request #862 from Oire/feature/german-suffixes
Fix fromNow in German #842
Iskren Ivov Chernev [Mon, 24 Jun 2013 15:16:10 +0000 (08:16 -0700)]
Merge pull request #822 from jwarkentin/develop
Fix JavaScript setMonth() behavior
Fraser Tweedale [Thu, 20 Jun 2013 08:58:35 +0000 (18:58 +1000)]
fix durations not being cloned properly
``moment.duration`` does not return an equivalent Duration for all
inputs. Add a test for this and fix the issue by reusing the
Duration's constructor argument.
Oire [Sun, 23 Jun 2013 21:09:43 +0000 (00:09 +0300)]
Fixed fromNow without suffix in German, should fix #842
Oire [Sun, 23 Jun 2013 09:45:22 +0000 (12:45 +0300)]
Merge remote-tracking branch 'main/develop' into develop
Oire [Sun, 23 Jun 2013 09:11:49 +0000 (12:11 +0300)]
Merge branch 'feature/rus-ukr-ordinals' into develop
Justin Warkentin [Fri, 31 May 2013 20:14:01 +0000 (14:14 -0600)]
Fix JavaScript setMonth() behavior
Iskren Ivov Chernev [Sun, 23 Jun 2013 03:41:27 +0000 (20:41 -0700)]
Merge pull request #825 from Oire/feature/rus-ukr-ordinals
Appropriate ordinals processing in Russian and Ukrainian
Oire [Thu, 20 Jun 2013 17:55:34 +0000 (20:55 +0300)]
Where's my headbang emoticon?((
Iskren Ivov Chernev [Thu, 20 Jun 2013 17:13:39 +0000 (10:13 -0700)]
Merge pull request #841 from CmdrMoozy/uglifyjs-lint
Fixed some warnings uglifyjs gave when compressing.
Oire [Thu, 20 Jun 2013 17:02:35 +0000 (20:02 +0300)]
Fixing alignment, hope it's OK now
Tim Wood [Tue, 18 Jun 2013 23:36:40 +0000 (16:36 -0700)]
Merge pull request #847 from tpaszun/develop
Fixed polish date format & months usage
Tim Wood [Tue, 18 Jun 2013 23:35:33 +0000 (16:35 -0700)]
Merge pull request #853 from Caged/bower-ignores
Ignore nonessential files when installing via bower
Tim Wood [Tue, 18 Jun 2013 22:41:19 +0000 (15:41 -0700)]
Merge pull request #846 from dperrymorrow/develop
If lang requested not found, resort to default lang
Justin Palmer [Tue, 18 Jun 2013 22:37:44 +0000 (16:37 -0600)]
Rename bower.json to component.json
revert back to component.json to keep component/component support
Justin Palmer [Tue, 18 Jun 2013 18:28:50 +0000 (11:28 -0700)]
ignore nonessential files when installing via bower
When installing via Bower, we only want to pull down files essential to
the use of moment.js and ignore everything else. See [ignore]
https://github.com/bower/bower#defining-a-package for more information
on bower ignores.
Justin Palmer [Tue, 18 Jun 2013 18:20:22 +0000 (11:20 -0700)]
Rename component.json to preferred bower.json
Tim Wood [Mon, 17 Jun 2013 20:48:01 +0000 (13:48 -0700)]
iso week days should be in the 1-7 range, not 0-6. #699 http://en.wikipedia.org/wiki/ISO_week_date
Tymoteusz Paszun [Sat, 15 Jun 2013 18:32:33 +0000 (20:32 +0200)]
Fixed polish date format & months usage
David Morrow [Fri, 14 Jun 2013 18:17:38 +0000 (11:17 -0700)]
If lang requested not found, resort to default lang
in response to Issue #844
Axel Rasmussen [Thu, 13 Jun 2013 18:04:20 +0000 (12:04 -0600)]
Fixed some warnings uglifyjs gave when compressing.
Tim Wood [Mon, 10 Jun 2013 21:57:43 +0000 (17:57 -0400)]
less likely to hang test runner #747
Tim Wood [Mon, 10 Jun 2013 16:56:13 +0000 (13:56 -0300)]
using days in month instead of hardcoded year lengths #747
Tim Wood [Mon, 10 Jun 2013 16:50:19 +0000 (09:50 -0700)]
Merge pull request #747 from ichernev/features/diff-across-dst
Ignore DST for day, week, month and year diffs
Tim Wood [Fri, 7 Jun 2013 16:45:24 +0000 (09:45 -0700)]
Merge pull request #834 from JensRantil/swedish-lang-remove-klockan
Remove "Klockan" in `moment.calendar()`
Jens Rantil [Fri, 7 Jun 2013 13:20:29 +0000 (15:20 +0200)]
Remove "Klockan" in `moment.calendar()`
* "Klockan" is kinda superflous.
* This makes the Swedish translation more similar to English.
Iskren Ivov Chernev [Wed, 5 Jun 2013 09:20:10 +0000 (02:20 -0700)]
Merge pull request #734 from chbrown/develop
Add duration.add and subtract method
Oire [Mon, 3 Jun 2013 22:34:47 +0000 (01:34 +0300)]
Oh sorry, I've forgotten a tiny thing, as always
Oire [Mon, 3 Jun 2013 22:26:12 +0000 (01:26 +0300)]
Appropriate ordinals processing in Russian and Ukrainian
Tim Wood [Mon, 3 Jun 2013 18:39:15 +0000 (11:39 -0700)]
#788 add tests for year first array
Tim Wood [Mon, 3 Jun 2013 18:14:41 +0000 (11:14 -0700)]
add a penalty to formats that do not parse the entire input #818
Tim Wood [Mon, 3 Jun 2013 17:52:32 +0000 (10:52 -0700)]
making auto iso8601 ignore 'T' if it is not in the input string #804
Tim Wood [Mon, 3 Jun 2013 17:29:38 +0000 (10:29 -0700)]
Making toJSON an alias of toISOString rather than the other way around #806
Tim Wood [Mon, 3 Jun 2013 17:28:02 +0000 (10:28 -0700)]
Merge pull request #806 from kevinmarx/isoHelperMethod
toISOString helper method.
Tim Wood [Mon, 3 Jun 2013 17:26:46 +0000 (10:26 -0700)]
Merge pull request #800 from timrwood/feature/minmax
Adding moment#min and moment#max #755
Tim Wood [Mon, 3 Jun 2013 17:21:27 +0000 (10:21 -0700)]
Removing 'now' option on min/max
Tim Wood [Mon, 3 Jun 2013 17:18:58 +0000 (10:18 -0700)]
Merge pull request #752 from ichernev/bugfix/gl-lang
Bugfix/gl lang
Tim Wood [Mon, 3 Jun 2013 16:43:46 +0000 (09:43 -0700)]
Merge pull request #803 from Oire/develop
More fixes to Ukrainian: literary standard fix plus special case for 11 hours processing
Christopher Brown [Sat, 1 Jun 2013 13:31:10 +0000 (08:31 -0500)]
Add tests for duration.add and .remove
Oire [Sat, 1 Jun 2013 12:03:21 +0000 (15:03 +0300)]
And this does work indeed, thanks to guru @ichernev
Christopher Brown [Fri, 31 May 2013 21:21:55 +0000 (16:21 -0500)]
Add duration.add() and duration.subtract() methods.
Oire [Fri, 31 May 2013 11:20:23 +0000 (14:20 +0300)]
The only solution I can propose with processHours function
Kevin Marx [Thu, 30 May 2013 12:24:07 +0000 (07:24 -0500)]
aliasing the toISOString method to the toJSON method
Tim Wood [Wed, 29 May 2013 00:29:26 +0000 (17:29 -0700)]
Merge pull request #791 from timrwood/feature/ampm
Supporting A.M. and P.M. and moving isPM check to Language
Kevin Marx [Mon, 27 May 2013 19:03:53 +0000 (14:03 -0500)]
fixed missing space after function
Kevin Marx [Mon, 27 May 2013 18:45:49 +0000 (13:45 -0500)]
added in a toISOString helper method to match the javascript date object's toISOString method
Iskren Chernev [Thu, 23 May 2013 06:45:51 +0000 (23:45 -0700)]
Fixed diff across tz tests to work for all timezones
Oire [Fri, 24 May 2013 23:09:31 +0000 (02:09 +0300)]
More fixes to Ukrainian: literary standard fix plus special case for 11 hours processing
Tim Wood [Thu, 23 May 2013 19:17:24 +0000 (12:17 -0700)]
Adding moment#min and moment#max #755
Tim Wood [Thu, 23 May 2013 16:18:18 +0000 (09:18 -0700)]
Moving parse regex to language as well as isPM
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
...
Iskren Chernev [Thu, 25 Apr 2013 07:51:10 +0000 (00:51 -0700)]
Ignore DST for day, week, month and year diffs
Iskren Ivov Chernev [Thu, 23 May 2013 05:18:19 +0000 (22:18 -0700)]
Merge pull request #795 from gdibble/patch-1
UK officially uses 24H, not 12H in written form.
Gabriel Dibble [Thu, 23 May 2013 04:03:29 +0000 (21:03 -0700)]
Merge pull request #1 from gdibble/develop
test updates for en-GB time formatting