-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.2, 3.3.2
-
MOODLE_25_STABLE, MOODLE_33_STABLE
-
MOODLE_35_STABLE
-
MDL-43648_m35v2 -
The course start under Moodle is defined only by date. There is no option for the user to set the desired time for that.
FULL STEPS:
As Administrator, create another admnistrator user having a different timezone. The first one set his profile's timezone to UTC-3. The second one set the timezone to UTC-5.
As the first Administrator, create a new course set to start January the 1st, 2014. Save it. The timestamp saved is 1388545200 (regarding my server settings).
As the second Administrator edit that course do nothing there. Save it then. (Once I openned it, it showed December 31st, 2013). Now the timestamp saved is 1388466000.
It can go over and over again, losing one day each time this sequence is done.
WHAT I EXPECTED
I understand that the time difference regarding the timezones (2 hours in this case), may affect the day referenced there. The main purpose on that is because the time API defaults the time to 00:00 in the referenced date. As I open it 2 hours before it makes sence to show the date one day earlier. Once I reopen the course for editing with the original creator, it was expected that the course would start at the same date he created it (Jan the 1st, 2014), as nothing was edited anywhere. But the start date was actually Dec 31st, 2013.
I believe that discarding the hours, minutes and seconds for the date field once it is edited is a mistake, and could lead to problems like that that could cause the dates to change over and over without any reason. Once I set conditional access N days after course start, it could bring even some other problems.