]>
git.ipfire.org Git - thirdparty/moment.git/log
Bojan Markovic [Tue, 20 Aug 2013 09:04:31 +0000 (11:04 +0200)]
Initial lang test for Croatian.
Bojan Markovic [Tue, 20 Aug 2013 07:09:37 +0000 (09:09 +0200)]
Added Croatian (hr) translation.
Tim Wood [Mon, 12 Aug 2013 17:52:00 +0000 (10:52 -0700)]
Merge pull request #985 from ichernev/feature/normalize-lang-codes
Normalize language identifiers as described in #963
Iskren Chernev [Fri, 9 Aug 2013 09:02:36 +0000 (02:02 -0700)]
Normalize language identifiers as described in #963
Tim Wood [Thu, 8 Aug 2013 19:04:34 +0000 (12:04 -0700)]
Merge pull request #982 from ichernev/fix-prototype-constructor
Moment, Duration and Language objects now have constructor property
Tim Wood [Thu, 8 Aug 2013 18:42:28 +0000 (11:42 -0700)]
Merge pull request #983 from ichernev/improved-grunt-zones
grunt zones with TZ and zone.tab
Iskren Chernev [Wed, 7 Aug 2013 08:22:37 +0000 (01:22 -0700)]
Fixed a few comments
Iskren Chernev [Wed, 7 Aug 2013 08:20:04 +0000 (01:20 -0700)]
grunt zones with TZ and zone.tab
Iskren Ivov Chernev [Wed, 7 Aug 2013 06:49:50 +0000 (23:49 -0700)]
Merge pull request #966 from mechuwind/patch-1
Change the Norwegian nynorsk language configuration to follow the most common date format
Iskren Ivov Chernev [Wed, 7 Aug 2013 06:32:58 +0000 (23:32 -0700)]
Merge pull request #978 from icambron/extraneous-s
removing extra s in get() and set()
Iskren Ivov Chernev [Wed, 7 Aug 2013 06:32:01 +0000 (23:32 -0700)]
Merge pull request #979 from chall8908/develop
Fix for strange Duration behavior when using strings for values
Iskren Chernev [Wed, 7 Aug 2013 06:27:10 +0000 (23:27 -0700)]
Moment, Duration and Language objects now have constructor property
Chris Hall [Tue, 6 Aug 2013 23:02:50 +0000 (18:02 -0500)]
Split string value tests into their own test
Chris Hall [Tue, 6 Aug 2013 17:52:54 +0000 (12:52 -0500)]
Added unary + operator to ms, days, and months in Duration constructor
when building internal representations
Added tests that check against string initialization of Duration
parameters
Closes #968
Isaac Cambron [Tue, 6 Aug 2013 07:32:59 +0000 (03:32 -0400)]
removing extra s in get() and set()
Iskren Ivov Chernev [Mon, 5 Aug 2013 06:46:18 +0000 (23:46 -0700)]
Merge pull request #971 from ichernev/bugfix/global-regexp-test
Fixed local formatting tokens detection
Apparently global regexes remember the last matched position after `test`. Reset that that before each test.
Iskren Chernev [Fri, 2 Aug 2013 07:06:58 +0000 (00:06 -0700)]
Removed exetuable bit on lang/fa.js
Iskren Chernev [Thu, 1 Aug 2013 07:33:33 +0000 (00:33 -0700)]
Fixed local formatting tokens detection
According to the docs:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
issuing regex.test on the same regex that is also g (global), would cause it to
remember the last match position and continue from there. Set lastIndex to
0 before every test to make sure this won't happen.
mechuwind [Tue, 30 Jul 2013 12:49:22 +0000 (14:49 +0200)]
Update nn.js
Update test for nn
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