#31566 [NEW]: Wrong Timezone Returned in Win2K
| From: | sani at loyolajesuit dot org | Date: | Sun, 16 Jan 2005 04:21:29 +0000 |
| Subject: | #31566 [NEW]: Wrong Timezone Returned in Win2K | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-72233@lists.php.net to get a copy of this message | ||
From: sani at loyolajesuit dot org
Operating system: Win2K server/Win XP
PHP version: 4CVS-2005-01-16 (stable)
PHP Bug Type: Date/time related
Bug description: Wrong Timezone Returned in Win2K
Description:
------------
I have a duplicate PHP installation on a Windows 2000 Server and Windows
XP systems. When I ussue date('r') command on Windows XP this is the
output:
COMMAND:
print(date("r"));
OUTPUT:
Sun, 16 Jan 2005 05:09:48 +0100
However on Windows 2000, I get a different result:
COMMAND:
print(date("r"));
OUTPUT"
Sun, 16 Jan 2005 04:09:52 +0000
I'll appreciate any help resolving this issue.
Sani.
Reproduce code:
---------------
print(date("r"));
Expected result:
----------------
Sun, 16 Jan 2005 05:09:48 +0100
Actual result:
--------------
On Windows 2000:
Sun, 16 Jan 2005 04:09:48 +0000
On Windows XP:
Sun, 16 Jan 2005 05:09:48 +0100
--
Edit bug report at http://bugs.php.net/?id=31566&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31566&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31566&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31566&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31566&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31566&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31566&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31566&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31566&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31566&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31566&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31566&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31566&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31566&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31566&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31566&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31566&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31566&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31566&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31566&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31566&r=mysqlcfg