diff --git a/core/trunk/core/class/class_functions.php b/core/trunk/core/class/class_functions.php index 736b94effae14a254b024df6770a1ba9dd7aaf0d..35fc6127bbbc91ee00dd8ffc8a51d28ed49be601 100644 --- a/core/trunk/core/class/class_functions.php +++ b/core/trunk/core/class/class_functions.php @@ -807,14 +807,13 @@ class functions $day = substr($var[2], 0, 2); $hours = $var[3]; - } if ($year <= "1900") { return ''; } else { if ($databasetype == "SQLSERVER") { if ($withTimeZone) { - return $day . "-" . $month . "-" . $year . " " . $hours; + return $day . "-" . $month . "-" . $year . " " . $hours; }else{ return $day . "-" . $month . "-" . $year; } @@ -822,13 +821,13 @@ class functions } else if ($databasetype == "POSTGRESQL") { if ($_SESSION['config']['lang'] == "fr") { if ($withTimeZone) { - return $day . "-" . $month . "-" . $year . " " . $hours; + return $day . "-" . $month . "-" . $year . " " . $hours; }else{ return $day . "-" . $month . "-" . $year; } } else { if ($withTimeZone) { - return $year . "-" . $month . "-" . $day . " " . $hours; + return $year . "-" . $month . "-" . $day . " " . $hours; }else{ return $year . "-" . $month . "-" . $day; }