Add code to format time entry