PHP 4.0 Bug #3871: The isdst flag is not returned as part of the array from getdate()
| From: | alan at anala dot co dot uk | Date: | Sun, 19 Mar 2000 20:57:20 +0000 |
| Subject: | PHP 4.0 Bug #3871: The isdst flag is not returned as part of the array from getdate() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17036@lists.php.net to get a copy of this message | ||
From: alan@anala.co.uk
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