Added support for optional seconds.