class ActiveSupport::TimeWithZone

def <=>(other)

Use the time in UTC for comparisons.
def <=>(other)
  utc <=> other
end