pkp/ocs — pull request #2 by peterdietz (2012-09-07 18:12:55+00:00)
Title: Use real start / end dates in scheduler form

If you have a conference that is next year, and try to create a time block: manager/createTimeBlock, then you'll notice that the dropdown for the time block defaults to today's date, and the year dropdown only has this year. This is an issue because the user can't select the timeblock to be next year (the year of the conference). Thus the user ends up only being able to create time blocks in 2012, as opposed to time blocks during the conference.

Digging into the code, I've noticed that the local variables `$startTime` and `$endTime` don't appear to have any data (so its falling back to todays date). To fix this (for us, and it should work generically), I changed it to use the conference's start/end date.

Apologies in advance if your workflow is to not use GitHub for this...