diff --git a/classes/element_helper.php b/classes/element_helper.php index e8920471..125b1eb0 100644 --- a/classes/element_helper.php +++ b/classes/element_helper.php @@ -762,7 +762,7 @@ public static function get_date_format_string(int $date, string $dateformat): st break; case 5: // ISO 8601 date format (YYYY-MM-DD). - $certificatedate = userdate($date, '%Y-%m-%d'); + $certificatedate = userdate($date, '%Y-%m-%d', 99, false, false); break; default: $certificatedate = userdate($date, get_string('strftimedate', 'langconfig'));