fixed timezone check (closes symfony/symfony-standard#489)