diff options
-rw-r--r-- | www/inc/funkce.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/inc/funkce.inc.php b/www/inc/funkce.inc.php index e45d725..27e1dbd 100644 --- a/www/inc/funkce.inc.php +++ b/www/inc/funkce.inc.php @@ -58,9 +58,9 @@ function readInfo ($infofile, $file) { $info_array["date"])) { // remain compatible - DD.MM.YYYY list($day,$month,$year) = split("\.", $info_array["date"]); - rtrim($year); - rtrim($month); - rtrim($day); + $year = rtrim($year); + $month = rtrim($month); + $day = rtrim($day); $info_array["date"] = "$year-$month-$day"; //make it US date } // US date format at this point |