Unify time formatting and allow the local timezone to be set.
UD error fail.