The added time should be a datetime, not a time.struct_time.
Regression of 290b9050 Closes: #1012 (closed)