#22457 [NEW]: gmmktime, gmdate bug
| From: | nospam at null dot dev | Date: | Thu, 27 Feb 2003 14:08:09 +0000 |
| Subject: | #22457 [NEW]: gmmktime, gmdate bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-34411@lists.php.net to get a copy of this message | ||
From: nospam at null dot dev
Operating system: Windows 2000
PHP version: 4.3.1
PHP Bug Type: Date/time related
Bug description: gmmktime, gmdate bug
Please someone reopen bug ID 14391, which is currently on 'no feedback'.
The gmmktime() & windows problem still persists on 4.3.0.
We now go into the third year of this bug being around. Could this become
a record???
Testcase:
gmmktime(0,0,0,1,1,1970);
MUST return 0, also on a win box that is not in GMT-Zone.
Or then, PLEASE introduce URGENTLY a new function that allows the manual
correction of the TZ:
int gmmktime ( int hour, int minute, int second, int month, int day, int
year [, int is_dst] [, int tz_offset])
because it boils down to the fact that the TZ-offset is the thing that is
not detected correctly.
---------
this note will also be posted to bug 14391, so you can remove this bug
after reopening 14391!!
--
Edit bug report at http://bugs.php.net/?id=22457&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22457&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22457&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22457&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22457&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22457&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22457&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22457&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22457&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22457&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22457&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22457&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22457&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22457&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22457&r=gnused