added time formating for events