call to_time on input to deal with problems with active support time with zones