From 5c30074d9984de2bc4d861838a5caefbf838399e Mon Sep 17 00:00:00 2001
From: Paul Holden <paulh@moodle.com>
Date: Mon, 9 Oct 2023 19:26:10 +0100
Subject: [PATCH] MDL-79633 mod_data: correct timemodified tag replacement
 attribute.

---
 mod/data/classes/template.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mod/data/classes/template.php b/mod/data/classes/template.php
index 1d8b0e57321..21aedd71c66 100644
--- a/mod/data/classes/template.php
+++ b/mod/data/classes/template.php
@@ -569,7 +569,7 @@ class template {
         return html_writer::tag(
             'span',
             userdate($entry->timemodified, get_string('strftimedatemonthabbr', 'langconfig')),
-            ['title' => userdate($entry->timecreated)]
+            ['title' => userdate($entry->timemodified)]
         );
     }