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

fix date interpretation when day is also provided (#165) #178

Merged
merged 2 commits into from
Aug 23, 2016
Merged

fix date interpretation when day is also provided (#165) #178

merged 2 commits into from
Aug 23, 2016

Conversation

jonklein
Copy link
Collaborator

@jonklein jonklein commented Aug 15, 2016

This fixes a scenario previously reported as #165, in which the date is parsed incorrectly when a day is provided (e.g. "tuesday august 23nd 2016 at 5pm"). This particular fix works by ignoring the day if the date is already parsed out - it might be more informative to actually compare the reference date to the parsed out day and log or produce an error if they're not consistent.


This change is Reviewable

@bear
Copy link
Owner

bear commented Aug 15, 2016

gah - sorry about the error that is failing this build... i'll take a look at the PR tonight

@codecov-io
Copy link

codecov-io commented Aug 23, 2016

Current coverage is 76.92% (diff: 100%)

Merging #178 into master will increase coverage by 0.02%

@@             master       #178   diff @@
==========================================
  Files            14         14          
  Lines          1567       1569     +2   
  Methods           0          0          
  Messages          0          0          
  Branches        288        288          
==========================================
+ Hits           1205       1207     +2   
  Misses          268        268          
  Partials         94         94          

Powered by Codecov. Last update 073b91b...1247ac2

@bear
Copy link
Owner

bear commented Aug 23, 2016

Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@bear bear merged commit b2e0031 into bear:master Aug 23, 2016
@idpaterson idpaterson modified the milestone: 2.2 Aug 24, 2016
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.

4 participants