Skip to content

Instantly share code, notes, and snippets.

@d-m-u
Created August 17, 2019 13:54
Show Gist options
  • Save d-m-u/19df9d55ce80fde28af9a73fb5c31c24 to your computer and use it in GitHub Desktop.
Save d-m-u/19df9d55ce80fde28af9a73fb5c31c24 to your computer and use it in GitHub Desktop.
make time work again
def ==(o)
o = Rufus::Scheduler.parse(o)
o.seconds == @seconds &&
(o.zone == @zone || o.zone.current_period == @zone.current_period)
end
rather than what got merged on Friday:
https://github.com/ManageIQ/manageiq/blob/master/config/initializers/convert_time_to_eo.rb#L6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment