ID:               44061
 Updated by:       [EMAIL PROTECTED]
 Reported By:      martin at marquesminen dot com dot ar
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Linux
 PHP Version:      5.2.5
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Please read the note here:
http://no.php.net/manual/en/ref.datetime.php


Previous Comments:
------------------------------------------------------------------------

[2008-02-06 13:02:19] martin at marquesminen dot com dot ar

Description:
------------
I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina (same thing happens on a Fedora 7 server).

The problem is that, even when the system sees the correct time, php
keeps giving me the *old* hour (CLI and mod_apache). 

Reproduce code:
---------------
$ date
miƩ feb  6 09:03:57 ARST 2008
$ echo "<?php echo date('H:i') . \"\n\"; ?>"|php
08:04


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




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44061&edit=1

Reply via email to