This module contains additional datetime behaviour.
Evolve the date time into a mongo friendly UTC time.
@example Evolve the date time.
date_time.__evolve_time__
@return [ Time ] The converted time in UTC.
@since 1.0.0
# File lib/origin/extensions/date_time.rb, line 15 def __evolve_time__ if utc? ::Time.utc(year, month, day, hour, min, sec) else ::Time.local(year, month, day, hour, min, sec).utc end end
Generated with the Darkfish Rdoc Generator 2.