Thanks, after posting I thought about this and updated my timeformat to include seconds. It now works, but this does seem like a strange behavior since one would assume (wrongly in this case) that the timeparse function would just strip the seconds off automatically and not raise an error.
Btw, Is there a way to include seconds in a time inputdialog?
It now works, but this does seem like a strange behavior since one would assume (wrongly in this case) that the timeparse function would just strip the seconds off automatically and not raise an error.
Each approach has its advantages and disadvantages. Because of this error you know that the format was wrong and you can fix it. It would have been much more difficult to find this mistake otherwise.
Btw, Is there a way to include seconds in a time inputdialog?