229365fda3
While here, fix an incorrect test for timeset (that's in kern_todr already), and an incorrect to time_second (instead of using the date passed in).