#19446 [Opn]: Incorrect Offset Reported
| From: | eangulus at hotmail dot com | Date: | Tue, 17 Sep 2002 02:30:51 +0000 |
| Subject: | #19446 [Opn]: Incorrect Offset Reported | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19507@lists.php.net to get a copy of this message | ||
ID: 19446
User updated by: eangulus@hotmail.com
Reported By: eangulus@hotmail.com
Status: Open
Bug Type: Date/time related
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Also occurs on other timezones that are not complete hours.
EG:
The Zones, Asia/Riyadh87, Asia/Riyadh88, Asia/Riyadh89 are the same and
suppose to be +0345. But I get +03424. Also the Abreviation is reported
as ?? I expected this to actually be either an actual abreviation.
Previous Comments:
------------------------------------------------------------------------
[2002-09-16 21:00:53] eangulus@hotmail.com
I used this code to change timezones:
<?php
putenv('TZ=Asia/Calcutta');
print date('h:i:sa d/m/Y O T');
?>
Asia/Calcutta has an offset of +0530 GMT or 5.5 hours ahead of GMT.
It reported the O date value as +051800 I expected it to be +0530 or
+053000
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19446&edit=1