parse-time-string: fix setting and rounding of seconds