BUG: DatetimeIndex with freq raises ValueError when passed value is too short