MDL-51647 tool_lp: Plans due date MUST include the time of the day

Just like templates. That is very important when multiple users
can edit the same plan and are in different timezones.
This commit is contained in:
Frederic Massart
2016-04-18 10:58:42 +08:00
parent 15882eca69
commit 68911f0e7f
+1 -1
View File
@@ -60,7 +60,7 @@ class plan extends moodleform {
$mform->addElement('editor', 'description', get_string('plandescription', 'tool_lp'), array('rows' => 4));
$mform->setType('description', PARAM_TEXT);
$mform->addElement('date_selector', 'duedate', get_string('duedate', 'tool_lp'));
$mform->addElement('date_time_selector', 'duedate', get_string('duedate', 'tool_lp'), array('optional' => true));
$mform->addHelpButton('duedate', 'duedate', 'tool_lp');
// Display status selector in form.