diff --git a/form.php b/form.php index 30c6c47..9f45f6b 100644 --- a/form.php +++ b/form.php @@ -464,9 +464,9 @@ public function render_timeline_view($data): string { if ($days < ($config->timelinemax * 365)) { // Timeline day span visibility. $output .= ''; for ($d = 0; $d <= $days; $d++) { // Create timeline vertical header. - $date = usergetdate($first["time"] + ($d * (60 * 60 * 24))); + $date = $first["time"] + ($d * (60 * 60 * 24)); $output .= ''; } $output .= '';
' . - $date['mon'] . '/' . $date['mday'] . '/' . $date['year'] . + userdate($date, get_string('strftimedatefullshort', 'langconfig')) . '