]>
git.ipfire.org Git - thirdparty/moment.git/log
Tim Wood [Thu, 24 May 2012 16:51:09 +0000 (09:51 -0700)]
Adding tests for isValid and moment.utc()
Tim Wood [Fri, 11 May 2012 19:20:22 +0000 (12:20 -0700)]
Tim Wood [Fri, 11 May 2012 19:19:48 +0000 (12:19 -0700)]
Changing file size diff to use 1.6.2 instead of 1.6.1
Tim Wood [Fri, 11 May 2012 17:20:40 +0000 (10:20 -0700)]
Adding lang comments for authors and full language name
Tim Wood [Fri, 11 May 2012 16:41:22 +0000 (09:41 -0700)]
Fixing tests so that they use actual dates so we can test that hours minutes and seconds can fail
I think its impossible to have an invalid fractional second, as it can
be from 0 - 999. Removing the test for it.
Tim Wood [Fri, 11 May 2012 16:16:56 +0000 (09:16 -0700)]
Fixing duplicated unit test names
Tim Wood [Thu, 10 May 2012 23:02:37 +0000 (16:02 -0700)]
Adding logic for handling whether the array was created with new Date() or Date.utc()
Tim Wood [Thu, 10 May 2012 17:09:17 +0000 (10:09 -0700)]
More work on isValid
I moved all calls to Date.utc.apply({}, array) into makeDateFromArray.
I also noticed a bug where moment([2010, 0, 0]) would be converted to
moment([2010, 0, 1]) and had to fix a bunch of unit tests that were
dependent on this bug.
Tim Wood [Thu, 10 May 2012 15:39:36 +0000 (08:39 -0700)]
First pass at isValid
Tim Wood [Tue, 8 May 2012 16:30:32 +0000 (09:30 -0700)]
Merge pull request #305 from mirontoli/master
Added Chuvash Language
Anatoly Mironov [Sat, 5 May 2012 19:08:08 +0000 (21:08 +0200)]
removed experimental functions
Anatoly Mironov [Sat, 5 May 2012 18:46:59 +0000 (20:46 +0200)]
added chuvash test and lang
Anatoly Mironov [Sat, 5 May 2012 13:32:58 +0000 (15:32 +0200)]
added cv.js
Tim Wood [Fri, 4 May 2012 17:18:27 +0000 (10:18 -0700)]
Fix merge conflict for 1.6.2
Tim Wood [Fri, 4 May 2012 17:14:04 +0000 (10:14 -0700)]
Merge branch 'hotfix/1.6.2'
Tim Wood [Fri, 4 May 2012 17:14:00 +0000 (10:14 -0700)]
Bumping version number for 1.6.2 hotfix
Tim Wood [Fri, 4 May 2012 17:12:08 +0000 (10:12 -0700)]
Updating built and test files for #300
Tim Wood [Fri, 4 May 2012 17:07:44 +0000 (10:07 -0700)]
Tim Wood [Fri, 4 May 2012 17:07:06 +0000 (10:07 -0700)]
Tim Wood [Fri, 4 May 2012 17:01:16 +0000 (10:01 -0700)]
Merge pull request #300 from conanca/master
correct the translation of "future"
Tim Wood [Fri, 4 May 2012 16:45:54 +0000 (12:15 -0430)]
Fixing unit tests in all timezones
Tim Wood [Fri, 4 May 2012 01:30:06 +0000 (18:30 -0700)]
Fixing tests where timezone is multiple of 15 and utc is wrong
Tim Wood [Fri, 4 May 2012 01:21:22 +0000 (18:21 -0700)]
Merge branch 'feature/test-all-zones' into develop
Tim Wood [Fri, 4 May 2012 01:20:58 +0000 (18:20 -0700)]
Merging in changes from hot fix/1.6.2 branch
Tim Wood [Fri, 4 May 2012 01:12:39 +0000 (06:57 +0545)]
Switching to node js timezone tests for cleaner output
Tim Wood [Thu, 3 May 2012 19:51:49 +0000 (12:51 -0700)]
Switching from this.clone() to moment(this) to save 10/3 bytes
Tim Wood [Thu, 3 May 2012 19:46:10 +0000 (12:46 -0700)]
Adding zone tests #298
Tim Wood [Thu, 3 May 2012 17:02:19 +0000 (10:02 -0700)]
Shaving bytes for #302
Tim Wood [Thu, 3 May 2012 16:57:30 +0000 (09:57 -0700)]
Trimming bytes, 73/20
Tim Wood [Thu, 3 May 2012 16:53:41 +0000 (09:53 -0700)]
Adding file size diff script to measure the size of the library vs the latest stable branch
Tim Wood [Thu, 3 May 2012 16:33:53 +0000 (09:33 -0700)]
Fixing moment.humanizeDuration(60000, true); syntax
Yeah, it's ugly, but it will be deprecated in 1.7.0 anyway…
#299
Tim Wood [Thu, 3 May 2012 16:15:48 +0000 (09:15 -0700)]
Fixing thrown error when parsing an empty string with multiple formats
#301
Conanca [Thu, 3 May 2012 07:26:22 +0000 (15:26 +0800)]
correct the translation of 'future'
Tim Wood [Tue, 1 May 2012 23:05:41 +0000 (16:05 -0700)]
Fixing bug on #297
Tim Wood [Tue, 1 May 2012 17:03:55 +0000 (10:03 -0700)]
Adding automatic iso parsing support for fractional seconds and timezone as 'Z'
#295
Tim Wood [Mon, 30 Apr 2012 17:31:49 +0000 (10:31 -0700)]
Adding travis.yml to hot fix branch
Tim Wood [Mon, 30 Apr 2012 16:06:28 +0000 (09:06 -0700)]
moment.utc() should use current time if no parameters were passed in.
#291
Tim Wood [Fri, 27 Apr 2012 16:38:37 +0000 (09:38 -0700)]
Tim Wood [Fri, 27 Apr 2012 00:32:52 +0000 (17:32 -0700)]
Adding 1.6.0 and 1.6.1 to the file size history script
Tim Wood [Fri, 27 Apr 2012 00:30:04 +0000 (17:30 -0700)]
Switching to singular form for startOf/endOf
#283
Tim Wood [Fri, 27 Apr 2012 00:19:33 +0000 (17:19 -0700)]
Merge pull request #283 from mattiasrunge/develop
Added generic functions endOf and startOf
Tim Wood [Thu, 26 Apr 2012 22:45:04 +0000 (15:45 -0700)]
Adding travis.yml
Tim Wood [Thu, 26 Apr 2012 22:37:17 +0000 (15:37 -0700)]
Merge branch 'develop'
Tim Wood [Thu, 26 Apr 2012 22:34:45 +0000 (15:34 -0700)]
Minifying 1.6.1 release
Tim Wood [Thu, 26 Apr 2012 22:28:15 +0000 (15:28 -0700)]
Merge branch 'hotfix/1.6.1' into develop
Tim Wood [Thu, 26 Apr 2012 22:27:58 +0000 (15:27 -0700)]
Merge branch 'hotfix/1.6.1'
Tim Wood [Thu, 26 Apr 2012 22:27:37 +0000 (15:27 -0700)]
Bumping version number for hotfix
Tim Wood [Thu, 26 Apr 2012 22:25:12 +0000 (15:25 -0700)]
Emergency patch for 1.6.0
Gah, some commits got overwritten…
Tim Wood [Thu, 26 Apr 2012 20:53:03 +0000 (13:53 -0700)]
Adding readme for 1.6.0
Tim Wood [Thu, 26 Apr 2012 16:36:18 +0000 (09:36 -0700)]
Merge branch 'master' of https://github.com/timrwood/moment
Tim Wood [Thu, 26 Apr 2012 16:36:12 +0000 (09:36 -0700)]
Merging in version 1.6.0
Tim Wood [Thu, 26 Apr 2012 00:20:53 +0000 (17:20 -0700)]
Updating version number to 1.6.0 in preparation for the release.
Tim Wood [Wed, 25 Apr 2012 01:04:38 +0000 (18:04 -0700)]
Adding make size-history to compare file size to previous versions
Tim Wood [Wed, 25 Apr 2012 00:17:27 +0000 (17:17 -0700)]
Fixing bug where moment.utc(isostringwithoutzone) does not parse as utc
#275
Tim Wood [Mon, 23 Apr 2012 23:25:34 +0000 (16:25 -0700)]
Merging in changes for 1.5.2
Mattias Runge [Mon, 23 Apr 2012 19:14:30 +0000 (21:14 +0200)]
Changed startOf method to use a switch with fallthrough as suggested by timrwood, added /* falls through */ comments to pass JSHint
Mattias Runge [Mon, 23 Apr 2012 18:19:39 +0000 (20:19 +0200)]
Added generic functions for end of and start of for years, months, days, hours, minutes and seconds.
Tim Wood [Mon, 23 Apr 2012 17:52:06 +0000 (10:52 -0700)]
Fixing swedish grammar #260
Tim Wood [Mon, 23 Apr 2012 17:40:05 +0000 (10:40 -0700)]
Switching to using durations and moments in add/subtract private function
Tim Wood [Mon, 23 Apr 2012 17:12:03 +0000 (10:12 -0700)]
Merging in durations into develop branch
Tim Wood [Mon, 16 Apr 2012 18:47:32 +0000 (11:47 -0700)]
adding ds_store to gitignore
Tim Wood [Mon, 16 Apr 2012 18:47:17 +0000 (11:47 -0700)]
Adding tests for eod on utc mode
Rocky Meza [Sun, 15 Apr 2012 09:20:35 +0000 (03:20 -0600)]
Added the asYear, asMonth, etc. getters to Durations
Rocky Meza [Sun, 15 Apr 2012 08:41:21 +0000 (02:41 -0600)]
Instituted bubbling for Durations
This is according to the discussion in #265.
Rocky Meza [Sun, 15 Apr 2012 06:23:27 +0000 (00:23 -0600)]
ensure that you can create durations from an actual duration object
Rocky Meza [Sun, 15 Apr 2012 06:20:21 +0000 (00:20 -0600)]
Added getters to the Duration prototype.
These can serve as encapsulation to protect from future possible changes
in internal representation.
Tim Wood [Wed, 11 Apr 2012 04:01:05 +0000 (21:01 -0700)]
Deprecating format tokens `z zz`
#227
Tim Wood [Wed, 11 Apr 2012 04:00:33 +0000 (21:00 -0700)]
deprecating moment.fn.native
#216
Tim Wood [Wed, 11 Apr 2012 03:58:24 +0000 (20:58 -0700)]
Fixing merge conflicts with feature/parser branch
Tim Wood [Wed, 11 Apr 2012 03:56:05 +0000 (20:56 -0700)]
Adding deprecation notes to read me for 1.6.0
Tim Wood [Wed, 11 Apr 2012 03:21:40 +0000 (20:21 -0700)]
Switching to formatting token regex to save filesize.
Tim Wood [Wed, 11 Apr 2012 03:13:20 +0000 (20:13 -0700)]
Adding millisecond parsing tests
Tim Wood [Wed, 11 Apr 2012 03:13:03 +0000 (20:13 -0700)]
Fixing string+formats parsing with new iterative parser
Tim Wood [Wed, 11 Apr 2012 03:12:29 +0000 (20:12 -0700)]
Adding millisecond parsing tokens
Tim Wood [Wed, 11 Apr 2012 03:11:59 +0000 (20:11 -0700)]
Deprecating z/zz removal note
Tim Wood [Wed, 11 Apr 2012 03:10:55 +0000 (20:10 -0700)]
Renaming some internal variables and functions to be more clear
Tim Wood [Wed, 11 Apr 2012 03:09:10 +0000 (20:09 -0700)]
Shortening parse token regexes
Tim Wood [Wed, 11 Apr 2012 02:18:09 +0000 (19:18 -0700)]
Add a getter for moment.lang()
#266
Tim Wood [Tue, 10 Apr 2012 16:36:13 +0000 (09:36 -0700)]
Speed improvement tests
Tim Wood [Mon, 9 Apr 2012 20:35:36 +0000 (13:35 -0700)]
Passing tests on iterative parser
Tim Wood [Mon, 9 Apr 2012 17:42:26 +0000 (10:42 -0700)]
Adding license file
Tim Wood [Mon, 9 Apr 2012 16:24:16 +0000 (09:24 -0700)]
Documenting pull requests
Tim Wood [Sun, 8 Apr 2012 19:48:03 +0000 (12:48 -0700)]
Starting work on the iterative parser
Rocky Meza [Sun, 8 Apr 2012 13:52:29 +0000 (07:52 -0600)]
Merge branch 'feature/ender_support' into develop
Rocky Meza [Sat, 7 Apr 2012 15:43:56 +0000 (09:43 -0600)]
Simplified the dateAddRemove helper using the Duration object.
Rocky Meza [Sat, 7 Apr 2012 15:05:49 +0000 (09:05 -0600)]
Started on the Duration object feature.
moment.duration provides an instantiation method for Duration objects
that handles three input types: an Object, key/value, or just
milliseconds. I moved the functionality of moment.humanizeDuration to
moment.duration.fn.humanize. I left a deprecated
moment.humanizeDuration method which relies on moment.duration.
moment.fn.from has been updated to use moment.duration.
Tim Wood [Fri, 6 Apr 2012 01:59:08 +0000 (18:59 -0700)]
Merge branch 'hotfix/1.5.1'
Tim Wood [Fri, 6 Apr 2012 01:58:31 +0000 (18:58 -0700)]
Merge branch 'hotfix/1.5.1' of https://github.com/timrwood/moment into hotfix/1.5.1
Tim Wood [Fri, 6 Apr 2012 01:58:27 +0000 (18:58 -0700)]
Bumping version number to 1.5.1 for a bugfix
Tim Wood [Fri, 6 Apr 2012 01:54:23 +0000 (18:54 -0700)]
Reverting to 1.5.1 state
Rod Vagg [Wed, 4 Apr 2012 04:29:23 +0000 (14:29 +1000)]
play nicely within an Ender build
Rocky Meza [Mon, 2 Apr 2012 15:20:26 +0000 (09:20 -0600)]
Merge branch 'master' of github.com:timrwood/moment
Rocky Meza [Mon, 2 Apr 2012 15:16:44 +0000 (09:16 -0600)]
Merge pull request #229 from baryon/master
I fixed the merge conflicts and updated the jp language file to use the
new meridiem function.
Rocky Meza [Mon, 2 Apr 2012 15:04:40 +0000 (09:04 -0600)]
Added tests for Korean number months.
This is according to #240.
Rocky Meza [Mon, 2 Apr 2012 14:36:29 +0000 (07:36 -0700)]
Merge pull request #246 from hinrik/master
Icelandic translation
Hinrik Örn Sigurðsson [Fri, 30 Mar 2012 23:47:32 +0000 (23:47 +0000)]
Support for Icelandic
Tim Wood [Fri, 30 Mar 2012 17:45:07 +0000 (10:45 -0700)]
Changing unixValueOf to unix and adding unit tests
#213
Tim Wood [Fri, 30 Mar 2012 17:37:28 +0000 (10:37 -0700)]
Merge pull request #213 from exploid/master
Add support for creation with unix timestamp in seconds
Tim Wood [Fri, 30 Mar 2012 17:10:01 +0000 (10:10 -0700)]
Finally adding notes on contributing
Tim Wood [Fri, 23 Mar 2012 19:08:41 +0000 (12:08 -0700)]
Adding support for formatting milliseconds
#214