diff options
author | Simon Rettberg | 2017-07-07 12:57:43 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-07-07 12:57:43 +0200 |
commit | ae0e095995048d717e9b1d4515b36c8f861ec5eb (patch) | |
tree | af4b2615a8026a7235de7dad9d627c3cb4cd8207 /modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php | |
parent | [syslog] Improved filtering with suggestions from existing log (diff) | |
download | slx-admin-ae0e095995048d717e9b1d4515b36c8f861ec5eb.tar.gz slx-admin-ae0e095995048d717e9b1d4515b36c8f861ec5eb.tar.xz slx-admin-ae0e095995048d717e9b1d4515b36c8f861ec5eb.zip |
[locationinfo] Try working around messy time handling (timezones etc), CSS
Webkit/Presto and Blink/Gecko (or rather the corresponding JS engine) disagree
about how to handle certain date format strings wrt. time zones. This leads
to nasty discrepancies of events being displayed in the calendar. (Unfortunately
the students working on this project could not be convinced that properly
handling time zones when dealing with time information should be considered
important.)
Also, some tweaks to CSS/layout have been implemented so the design isn't as
messed up on old webkits that don't support flex layout.
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php index a9756dda..4c2dde6c 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php @@ -122,8 +122,8 @@ class CourseBackend_Davinci extends CourseBackend $subject = isset($lesson['Subject']) ? $lesson['Subject'] : '???'; $timetable[] = array( 'title' => $subject, - 'start' => $date . " " . $start . ':00', - 'end' => $date . " " . $end . ':00' + 'start' => $date . "T" . $start . ':00', + 'end' => $date . "T" . $end . ':00' ); } $schedules[$roomId] = $timetable; |