MDL-75058 course: Fix support for dates on WebServices

This commit is contained in:
Juan Leyva
2022-06-27 19:58:30 +02:00
parent 14d4bfdd2a
commit 4535493590
22 changed files with 192 additions and 97 deletions
+1
View File
@@ -46,6 +46,7 @@ class dates extends activity_dates {
if (!empty($chat->schedule) && $chattime > $now) {
return [
[
'dataid' => 'chattime',
'label' => get_string('nextchattime', 'mod_chat'),
'timestamp' => (int) $chattime
]