null_date conversion; phase 1

This commit is contained in:
redmatrix
2016-09-25 17:06:13 -07:00
parent 4e85bc66b8
commit fb9544badd
18 changed files with 31 additions and 31 deletions

View File

@@ -275,7 +275,7 @@ function relative_date($posted_date, $format = null) {
$abs = strtotime($localtime);
if (is_null($posted_date) || $posted_date === NULL_DATE || $abs === false) {
if (is_null($posted_date) || is_null_date($posted_date) || $abs === false) {
return t('never');
}