Updated date ui helper and fixed bug in base time unit's to_to_string