convert date to final format

fixes #1185
pull/1216/head
Max Mehl 3 years ago
parent e7364446f2
commit f03f605432
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92
  1. 2
      cgi-bin/perdiem.php

@ -115,6 +115,8 @@ foreach ($days as &$d) { // calculate for each day
// date
if ($date[$d] === '' ) {
$date[$d] = "Day " . $d;
} else {
$date[$d] = date("d.m.Y", strtotime($date[$d]));
}
$output .= "<td>" . $date[$d] . $desc . "</td>";

Loading…
Cancel
Save