resubmit re-implement time_format()