mantisbt/mantisbt — pull request #564 by dregad (2014-12-23 13:17:27+00:00)
Title: Refactor db_helper_compare_days()

Proposed fix for https://www.mantisbt.org/bugs/view.php?id=17980

I have not fully tested this.