Skip to content
Snippets Groups Projects
Commit ff25152a authored by eileen's avatar eileen
Browse files

Make 'overdue' function robust by using strtotime comparisons

parent 267fb11a
Branches
Tags
No related merge requests found
......@@ -788,7 +788,7 @@ class CRM_Utils_Date {
$now = self::isoToMysql($now);
}
return ($mysqlDate >= $now) ? FALSE : TRUE;
return (strtotime($mysqlDate) >= strtotime($now)) ? FALSE : TRUE;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment