> Maybe the solution isn't to flip-flop the implementation here, but to > document this concern and some method to disambiguate how to reliably > get the intended semantics.
FWIW, parse_datetime prints a warning if DST changes after date adjustment[1,2]. Unfortunately, only in debugging mode, so most of the time it goes unnoticed. The comment refers to https://bugs.gnu.org/8357, which may give a good starting point for documenting this. Regards, Sergey [1] https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/parse-datetime.y#n2190 [2] https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/parse-datetime.y#n2315