Add support for time strings without seconds.

See https://github.com/zendframework/zf1/issues/449.