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

Restrict relative datetime handling to operators that support them in MiqExpression#to_ruby #10295

Conversation

imtayadeway
Copy link
Contributor

@imtayadeway imtayadeway commented Aug 5, 2016

Purpose or Intent

Companion to #10246 and #9960. Does the same in the #to_ruby path that we did in those PRs for #to_sql, i.e. only handle relative datetimes in operators that officially support them.

@miq-bot add-label core, technical debt, refactoring
@miq-bot assign @gtanzillo

@miq-bot
Copy link
Member

miq-bot commented Aug 5, 2016

Checked commits imtayadeway/manageiq@b81528a~...396c2ed with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
2 files checked, 0 offenses detected
Everything looks good. 🍰

@gtanzillo gtanzillo added this to the Sprint 45 Ending Aug 22, 2016 milestone Aug 10, 2016
@gtanzillo
Copy link
Member

👍

@gtanzillo gtanzillo merged commit 48c5de7 into ManageIQ:master Aug 10, 2016
gtanzillo added a commit to gtanzillo/manageiq that referenced this pull request Dec 2, 2016
@imtayadeway imtayadeway deleted the miq-expression-to-ruby-datetime-operators branch February 13, 2017 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants