Tweak to fix issues with mysql/php timezone discrepancies