diff --git a/form.php b/form.php index aa6a258..617c978 100644 --- a/form.php +++ b/form.php @@ -424,9 +424,9 @@ public function render_timeline_view($data) { 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')) . '