Compare time values using the string representation

ActiveSupport::TimeWithZone has microsecond precision in ruby, but
some databases don't support this level of precision