From 900a559a3c0f54e9ae0aea033e189a1bb9abba56 Mon Sep 17 00:00:00 2001 From: Wiktor Wandachowicz Date: Mon, 1 Dec 2014 15:26:45 +0100 Subject: [PATCH] MDL-35078 enrol: allow times to be chose on bulk enrolment forms Previously only a date was available, which made it ambigious whether the the enrolment was inclusive of the date. Now we use a time to make it less ambigious. This matches changes done in other forms in MDL-41173. --- enrol/bulkchange_forms.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enrol/bulkchange_forms.php b/enrol/bulkchange_forms.php index 2c54b1c1a0375..46aca0c396d16 100644 --- a/enrol/bulkchange_forms.php +++ b/enrol/bulkchange_forms.php @@ -44,8 +44,8 @@ protected function definition() { $statusoptions = $this->get_status_options(); $form->addElement('html', $this->get_users_table($users, $statusoptions)); $form->addElement('select', 'status', get_string('alterstatus', 'enrol_manual'), $statusoptions, array('optional' => true)); - $form->addElement('date_selector', 'timestart', get_string('altertimestart', 'enrol_manual'), array('optional' => true)); - $form->addElement('date_selector', 'timeend', get_string('altertimeend', 'enrol_manual'), array('optional' => true)); + $form->addElement('date_time_selector', 'timestart', get_string('altertimestart', 'enrol_manual'), array('optional' => true)); + $form->addElement('date_time_selector', 'timeend', get_string('altertimeend', 'enrol_manual'), array('optional' => true)); $this->add_action_buttons(); }