diff --git a/include/functions.inc.php b/include/functions.inc.php index cc2339c64d..765f17c518 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -516,6 +516,11 @@ function format_date($date, $show_time = false) { global $lang; + if (strpos($date, '0') == 0) + { + return l10n('N/A'); + } + $ymdhms = array(); $tok = strtok( $date, '- :'); while ($tok !== false)