Bug #14391 Updated: gmmktime, gmdate work incorrect
| From: | max at flipstorm dot net | Date: | Sun, 20 Jan 2002 15:41:43 +0000 |
| Subject: | Bug #14391 Updated: gmmktime, gmdate work incorrect | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77591@lists.php.net to get a copy of this message | ||
ID: 14391
Comment by: max@flipstorm.net
Old Reported By: pilots@farlep.net
Reported By: max@flipstorm.net
Status: Feedback
Bug Type: Date/time related
Operating System: Windows 2000 Server
PHP Version: 4.0.6
New Comment:
I've got this problem on 4.0.5 on solaris, could someone confirm this
for me?
SunOS mimosa 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-4
Max
Previous Comments:
------------------------------------------------------------------------
[2002-01-13 14:34:48] jah@php.net
Could be. Could also be that some of the assumptions made in
ext/standard/datetime.c on lines 172-190 are just wrong for
Windows-based systems. I'll do some testing next week, now
that I finally have a Windows test system (with documentation)
aside my trustworthy Linux.
<offtopic>
A machine that can boot two different operating systems is
called 'dual-boot'. Mine boots to Linux, Solaris and Windows
2000. So should it be called 'trial-boot'?
</offtopic>
------------------------------------------------------------------------
[2002-01-13 07:45:40] derick@php.net
mmm, I think this is to blame at Microsoft then.
Derick
------------------------------------------------------------------------
[2002-01-13 06:56:08] jah@php.net
Bug confirmed also with 4.1.1 on Windows 2000 server.
Everything fine on Linux (4.1.1 and 4.0.3).
Note that depending on your country, the result might be
wrong on summer time too. I'm too living on a timezone
GMT+2 (Finland), but we didn't switch to using daylight
savings time until 1977. Which is correctly detected on
Linux and wrong on Windows 2000 server (it thinks that we
had daylight savings also on 1970-1976).
------------------------------------------------------------------------
[2002-01-13 05:15:26] mfischer@php.net
Can you test a newer version, say 4.1.1?
------------------------------------------------------------------------
[2002-01-13 04:59:58] max@flipstorm.net
Same problem on 4.0.5 running on solaris and linux.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14391
Edit this bug report at http://bugs.php.net/?id=14391&edit=1