Bug #51824 [Opn->Fbk]: date('I') always return '0' in Windows
| From: | pajoye@php.net | Date: | Thu, 20 May 2010 17:51:59 +0000 |
| Subject: | Bug #51824 [Opn->Fbk]: date('I') always return '0' in Windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150672@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51824&edit=1
ID: 51824
Updated by: pajoye@php.net
Reported by: ng4rrjanbiah at rediffmail dot com
Summary: date('I') always return '0' in Windows
-Status: Open
+Status: Feedback
Type: Bug
Package: Date/time related
Operating System: Windows XP
PHP Version: 5.3.2
-Assigned To:
+Assigned To: derick
New Comment:
Derick, what was the issue behind this specifier?
Previous Comments:
------------------------------------------------------------------------
[2010-05-20 19:05:11] ng4rrjanbiah at rediffmail dot com
Bump! Anyone?
------------------------------------------------------------------------
[2010-05-14 17:04:36] ng4rrjanbiah at rediffmail dot com
Description:
------------
date('I') always return 0 in Windows; but returns according to DST in
Linux
Note: found http://bugs.php.net/13900 which is filed for
PHP4 and
flagged as
"bogus"
Test script:
---------------
<?php
date_default_timezone_set('Pacific/Apia');
$time = strtotime('2006-02-01 23:00:00');
for ($t = $time; $t < ($time + 1000000000); $t+= 100000) {
echo date("Y-m-d H:i:s I T Z", $t) , "\n";
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51824&edit=1