aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index cc2339c64..765f17c51 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)