Added time format method and tests.
Added delete button and events.