From: john at jcoppens dot com
Operating system: Linux
PHP version: 5.2.5
PHP Bug Type: Date/time related
Bug description: Argentinian summer time off?
Description:
------------
When printing (using strftime) the local time, this is one hour off, as if
the new summer time is not taken into account:
It is now 03:02, and the time reported is 02:02.
This is happening only in PHP. The system time is set to GMT, and the
'date' command reports correctly. TCL is also reporting the date correctly
and an offset of -0200. PHP reports -0300.
I wonder if PHP is administering the timezones separately from the
operating system (I already updated the system locale to the new savings
time).
I tried setlocale("LC_TIME", "es_AR") and "ar_AR" (which is probably
incorrect)
What do I have to do to correct this?
Thanks
John
Reproduce code:
---------------
Just print the date, using strftime, in the argentinian time zone.
Expected result:
----------------
Time should, at this moment, be GMT-2, not GMT-3 (which is normal in
winter)
Actual result:
--------------
GMT-3
--
Edit bug report at http://bugs.php.net/?id=43813&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43813&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43813&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43813&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43813&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43813&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43813&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43813&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43813&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43813&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43813&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43813&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43813&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43813&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43813&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43813&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43813&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43813&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43813&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43813&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43813&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43813&r=mysqlcfg