[PHP-DEV] PHP 4.0 Bug #3871: The isdst flag is not returned as part of the array from getdate() From: alan <email protected>
Date: 03/19/00

From: alan <email protected>
Operating system: Red Hat 6.1
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Feature/Change Request
Bug description: The isdst flag is not returned as part of the array from getdate()

The array returned by the PHP getdate() function does not include the daylight saving time flag which is supplied by the Linux function localtime().

Probably need to add something like
        add_assoc_string(return_value, "is_dst", ta->tm_isdst);
into PHP_FUNCTION(getdate) in ext/standard/datetime.c

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>