php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55682 strtotime ro date() results differ on windows
Submitted: 2011-09-13 13:47 UTC Modified: 2011-09-13 14:14 UTC
From: pajoye@php.net Assigned: derick (profile)
Status: Not a bug Package: Date/time related
PHP Version: 5.4SVN-2011-09-13 (SVN) OS: windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pajoye@php.net
New email:
PHP Version: OS:

 

 [2011-09-13 13:47 UTC] pajoye@php.net
Description:
------------
Tests fail under windows. I'm not sure why, the main problem is the delta in the 
date function calls when a correct tz is set.

Test script:
---------------
\ext\date\tests\date_default_timezone_set-1.phpt

Actual result:
--------------
005+ 2005-01-12T02:00:00-0500
006+ 2005-07-12T01:00:00-0500
005- 2005-01-12T03:00:00-0500

006- 2005-07-12T03:00:00-0500


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-13 13:48 UTC] pajoye@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: derick
 [2011-09-13 13:48 UTC] pajoye@php.net
Derick, please take a look at this one, it would rock to have these last tests 
fixed on Windows too before beta1 :)
 [2011-09-13 13:52 UTC] pajoye@php.net
Same for ext\date\tests\timezone-configuration.phpt:

001+ 1119132944
002+ 1119132944
002- 1119129344
003- 1119125744
 [2011-09-13 13:56 UTC] pajoye@php.net
Ignore my comment about ext\date\tests\timezone-configuration.phpt, putenv usage 
was the reason.
 [2011-09-13 14:14 UTC] pajoye@php.net
-Status: Assigned +Status: Bogus
 [2011-09-13 14:14 UTC] pajoye@php.net
Expected, date1 and date2 have different detection and is platform dependent.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 10:01:26 2024 UTC