aeolusproject/conductor — pull request #274 by jistr (2012-12-19 10:15:15+00:00)
Title: API: Make time helpers more defensive

Check for nils, convert datetime parameter to the true datetime (to prevent
errors when using ActiveSupport::TimeWithZone on Ruby 1.8 [1]).

[1] https://github.com/aeolusproject/conductor/pull/273#issuecomment-11516852