BUG: DTI-datetime_scalar preserve freq by jbrockmendel · Pull Request #48818 · pandas-dev/pandas (original) (raw)

good catch. when we cross a DST transition, dti.freq is actually wrong bc of the (deprecated) kludge in generate_range. As a result, inheriting the freq is incorrect in this case. But it will return to being correct once the deprecation is enforced.

i think the thing to do is add the test and xfail it