adds history time format