Added option to specify format in base time unit's *to_string
Updated time ui helper