make sure time parts formatted with two digits