Problems with PHP hour and new tzdata. BUG?

Martin Marques martin at marquesminen.com.ar
Wed Feb 6 12:40:21 UTC 2008


Hi all.

In Argentina we changed the timezone in December so a tzdata update was 
made.

System time is great, but PHP is giving the old time.

$ date +%z
-0200
$ echo "<?php echo date('Z')/3600 . \"\n\"; ?>"|php
-3

What's wrong?

I saw this behaviour on other distributions (debian, for example).




More information about the fedora-list mailing list