
On the lines 63 and 70, we must to save getSeconds() instead of getMinutes() to 'start_seconds' and 'end_seconds' variables.
For other hand, when we're saving exact hours, for example, 11:00 to 12:00, on the line 75 recognise that is an event without time (is wrong).
In the image you can check the solutions ; )
On the lines 63 and 70, we must to save getSeconds() instead of getMinutes() to 'start_seconds' and 'end_seconds' variables.
For other hand, when we're saving exact hours, for example, 11:00 to 12:00, on the line 75 recognise that is an event without time (is wrong).
In the image you can check the solutions ; )