Needs review
Project:
Date Repeat Sequence
Version:
6.x-1.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2011 at 17:30 UTC
Updated:
4 Nov 2011 at 17:30 UTC
The current version of the code sets the end time of the event by adding a number of seconds to the date array['seconds'] element. I'm not sure if it's because the date form fields do not include seconds, or if it's because the resulting number of seconds is usually >60, but the Date API is ignoring this number, and I end up with an end time that is the same as the start time.
So I reworked the code to correctly use the value the user enters as the end time. See the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| date_repeat_sequence_end_time.patch | 1.87 KB | gribnif |