- start_time = DateTime.strptime(start_at, '%I:%M %p %m/%d/%Y').to_time
- finished_time = DateTime.strptime(finished_at, '%I:%M %p %m/%d/%Y').to_time
-
+ start_time = DateTime.strptime(start_at, '%H:%M %p %m/%d/%Y').to_time
+ finished_time = DateTime.strptime(finished_at, '%H:%M %p %m/%d/%Y').to_time