Add support for time strings without seconds.