Category Archives: Bugs

PHP Bug with DateTime diff

After PHP 5.3.0 DateTime::diff was introduced to help with the comparison between two DateTime objects. However it still seems to be a bit buggy. While I was developing a statistics tool and trying to group occurrences by month, I got … Continue reading

Posted in Bugs, Solutions | Tagged , , , , , | 8 Comments