Wrong result from simple clock arithmetic (`clock add` with negative base).
The reason is a bug by porting [clock add] from Tcl to C - calculating seconds of day on a negative base generates negative result in C (-82800 instead of 3600 as it'd be in Tcl), so after all the seconds of day are wrong and the whole result deviate by one day:
Fixing it now for 8.7+, add coverage, etc...
- UTC -631152000 => LOCTM -631148400 % 86400 == -82800 // C vs.
+ UTC -631152000 => LOCTM -631148400 % 86400 == 3600 ## Tcl
Basically fixed in [27cbd7afc65a5c79], but found more places for a compiler "fix" (signed-mod operation with potentially negative dividend), so added more corrections in [e33fcd57b0397d45] (including few code simplifications and normalizations).
Test coverage is added too, so I close the ticket as fixed for now.