From a93f6d202a8f43b4701e74403cd2235c83fd93a3 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 17 Oct 2018 10:39:48 +1300 Subject: [PATCH] Fix #344 show full session date in mobile app. --- classes/output/mobile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/output/mobile.php b/classes/output/mobile.php index 1c63204..d242eb3 100644 --- a/classes/output/mobile.php +++ b/classes/output/mobile.php @@ -157,7 +157,7 @@ class mobile { } if ($isteacher || $canmark) { - $html = array('time' => attendance_construct_session_time($sess->sessdate, $sess->duration)); + $html = array('time' => strip_tags(construct_session_full_date_time($sess->sessdate, $sess->duration))); if (!empty($sess->groupid)) { // TODO In-efficient way to get group name - we should get all groups in one query. $groupname = $DB->get_field('groups', 'name', array('id' => $sess->groupid));