Avoid testsuite failure on php 5.2 with DateTimes