Use obj.is_a? instead of obj.class ==

so we grab ActiveSupport::TimeWithZone in addition to Time
Out, Out Damned Tabs