Removes unwanted argument on to_s in date(time) inputs