From:             ski_sanjay at yahoo dot com
Operating system: RH Linux 9.0
PHP version:      4.3.9
PHP Bug Type:     Date/time related
Bug description:  localtime not working properly

Description:
------------
One of the parameters of array returned by the localtime is the daylight
savings flag(tm_isdst). If you change the system time via shell command
and then execute a PHP script which calls localtime() from the browser
(not from shell, this is important), then you will find that localtime is
returning wrong daylight savings flag. Unless one does a hard webserver
restart localtime does not 
reflect the changes.




-- 
Edit bug report at http://bugs.php.net/?id=30342&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30342&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30342&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30342&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30342&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30342&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30342&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30342&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30342&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30342&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30342&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30342&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30342&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30342&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30342&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30342&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30342&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30342&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30342&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30342&r=mysqlcfg

Reply via email to