On Wed, 01 Dec 2021 05:17:30 +0100, Lars Ingebrigtsen wrote: > Bob Rogers writes: >> In the emacs-28 branch at 0dd3883def: >> Imagine my surprise when evaluating >> (days-between "2021-10-22" "2020-09-29") >> returned zero. > Thanks, applied to Emacs 29. This change caused another regression. Please try: (current-time-string (date-to-time "Fri, 03-Dec-2021 04:59:52 GMT")) The function needs to test if `parse-time-string' returns a valid data as the old version did it with the help of `encode-time'. A patch is below (where why I do `(setq time ...)' is to silence the byte compiler). Thanks.