Commit ff25152a authored by eileen's avatar eileen

Make 'overdue' function robust by using strtotime comparisons

parent 267fb11a
......@@ -788,7 +788,7 @@ class CRM_Utils_Date {
$now = self::isoToMysql($now);
}
return ($mysqlDate >= $now) ? FALSE : TRUE;
return (strtotime($mysqlDate) >= strtotime($now)) ? FALSE : TRUE;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment