-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MoodleBox PHP timezone and OS timezone are not consistent #324
Comments
I forgot to write ... I changed nothing with the MoodleBox 4.6.0 image. Everything comes out of the box. |
This is not really a bug, since one can (and should) set the correct default timezone for the MoodleBox under Moodle, via Site Administration > Location settings. Beware that the date depends also from the timezone setting of each user, so if you've changed the admin user's timezone in the Moodle profile, the date displayed in the dashboard is updated accordingly. Anyway, the default timezone for PHP (and Moodle) is currently "Europe/London", which is not consistent with the OS default timezone, that is "Europe/Zurich", so this should be fixed. Thank you for the report. Sidenotes:
|
Also: this is not an issue with the MoodleBox plugin, but with MoodleBox itself. Moving to correct project. |
- PHP timezone should be in sync with OS timezone, for consistency. - See issue #324.
- PHP timezone should be in sync with OS timezone, for consistency. - See issue #324.
Closing as fixed. |
The first time I saw the problem was when I setup the MoodleBox 4.6.0 to use an RTC.
Please look at https://discuss.moodlebox.net/d/247-using-a-real-time-clock-module-on-moodlebox/8
The date/time string in the MoodleBox dashboard is different to the computer time. Yes, I thought there could be a problem with my RTC settings.
Today I did a new test. I installed a fresh microSD card with the MoodleBox 4.6.0 image. I started the MoodleBox with the new image. The MoodleBox was connected to the router so the date/time string should be correct. Yes, the date/time string in the dashboard is different to the computer time again. In my addional test I connected via ssh to get the system date/time from the Terminal ... the system date/time is correct but not the string in the MoodleBox dashboard.
You can see my tests in in the following screenshot. There are the computer time, the terminal, and the MoodleBox dashboard.
Ralf
The text was updated successfully, but these errors were encountered: