Made test_edit for events use the time_formats variable
Made the event form use the time_formats variable as well