formatted time for editing events