Skip to content
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

Parse "tomorrow" case insensitively. #7

Merged
merged 1 commit into from
Nov 24, 2014
Merged

Parse "tomorrow" case insensitively. #7

merged 1 commit into from
Nov 24, 2014

Conversation

calleluks
Copy link
Owner

Closes #2.

@@ -97,6 +97,7 @@ def now
specify { expect(time("2june")).to eq Time.new(2015, 6, 2, 12, 0, 0, 0) }
specify { expect(time("feb09")).to eq Time.new(2015, 2, 9, 12, 0, 0, 0) }
specify { expect(time("tomorrow")).to eq Time.new(2014, 11, 15, 12, 0, 0, 0) }
specify { expect(time("Tomorrow")).to eq Time.new(2014, 11, 15, 12, 0, 0, 0) }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [86/80]

@calleluks calleluks merged commit 8eddc3d into master Nov 24, 2014
@calleluks calleluks deleted the ce-tomorrow branch November 24, 2014 22:32
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.

The string "tomorrow" is not parsed case insensitively.
2 participants