From:             [EMAIL PROTECTED]
Operating system: Win2k
PHP version:      4.3.0
PHP Bug Type:     Date/time related
Bug description:  Gmtime first argument doesn't support vars

gmtime sometimes doesn't support the first argument to be an var. 
Example:
<?php
$var = "D m M, G:i";
// Plus 3600 for Dutch-time
print gmdate($var, time() + 3600);
?> 
Gives at this moment:
Thu 01 Jan, 20:17
--------------------------------
<?php
// Plus 3600 for Dutch-time
print gmdate("D m M, G:i", time() + 3600);
?>
Gives:
Thu 16 Jan, 20:17
-- 
Edit bug report at http://bugs.php.net/?id=21692&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21692&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21692&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21692&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21692&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21692&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21692&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21692&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21692&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21692&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21692&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21692&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21692&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21692&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21692&r=gnused

Reply via email to