fix printout to make date formats consistent