Edit time format and add time at debug