Add new jQuery date picker to Tests & Quizzes
Activity

Keli Amann January 30, 2015 at 4:49 PM
Thank you Lydia!

Lydia Li January 30, 2015 at 12:40 PM
Attached patch from Stanford (2.9.x)

Sam Ottenhoff January 30, 2015 at 8:45 AM
> Therefore the implementation differs.
I don't mind doing the work to make the Stanford implementation work with the community implementation.

Keli Amann January 5, 2015 at 5:30 PM
a comment from Hugh, our developer who did it locally. In short, doesn't seem like we can contribute the work back.
"As to an inquiry about porting this enhancement to the base sakai code: Sakai implanted the jquery date picker in a couple places, but bundled everything together into a larger module. The approach taken here for coursework does not do that. Therefore the implementation differs. Implementing this code in the base sakai would not conform to the approach taken elsewhere in sakai and would incur ongoing maintenance and synchronization of configuration files for both approaches - whereas the sakai approach has centralized the configuration files, which would be preferable. At the time when the coursework implementation was done, it was not known that sakai had or was in the process of implementing their own centralized approach. "

Sam Ottenhoff December 18, 2014 at 2:42 PM
Can Stanford please share their patch or direct us to at svn merge?
Problem: The current date picker will automatically assume the time is the same time as when you are authoring the test. So if you are authoring at 4:59:03 PM, that will be the available date but also the due date and retract date. Worse, it closes as soon as you pick a day--either you have know to pick the time first (and it asks you to use military time) before the date, or you have to edit the time in the field later.
Solution: New jQuery date picker will default to 12 am and will not close after until you click done. This date picker is being used in Announcements for 10 so will have familiarity. This is being done locally at Stanford under CW-3840.