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 6685bba99..02a783854 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -563,6 +563,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)