Skip to content

Dev #606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Jul 15, 2013
Merged

Dev #606

merged 25 commits into from
Jul 15, 2013

Conversation

srvance
Copy link
Contributor

@srvance srvance commented Jul 15, 2013

Hi, Trent --

A lot more coverage, a few bugs, and a some cleanup. This is the last of the changes that are covered by the narrative of the book, but I'm going to continue working on it to try to cover the whole thing.

Let me know if you have any questions or issues with the changes. I've tried to give good commit messages.

Steve

srvance added 25 commits July 7, 2013 22:21
… fix seeming deviation from intent, although not in a likely meaningful way.
…plify formatting of output string by eliminating 'magic' 101 values.
…n of the negation of date.getTimezoneOffset() to make it clear that we need to reverse its sense. Just representing it as straight subtraction might be mathematically simpler and marginally more performant, but would fail to suggest this important detail.
…mentational, but that's all the methods under test do.
…hough I haven't tested its datepicker collaborator functions.
…tion tested for null with typed equality. Changed to test for falsiness.
…, make splitDateTime() return an object instead of an array to simplify the code a bit.
…ave the corresponding variants of splitDateTime() because it still exercises other important facets of the algorithm.
…th of splitDateTime() and discovered that the code that motivated the error path was replaced but the error handling it required was not removed. Error handling added to parseDate() override in commit 4496926. Refactored to splitDateTime() in e7c7d40. Happy path implementation replaced in b838a21.
trentrichardson added a commit that referenced this pull request Jul 15, 2013
More tests added, cleanup
@trentrichardson trentrichardson merged commit a1e67c5 into trentrichardson:dev Jul 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants