added format_dt function and used it in status displays