Bug #2378 [Com]: getDate(DATE_FORMAT_UNIXTIME) doesn't convert to GMT

From: Date: Tue, 18 Sep 2018 21:21:50 +0000
Subject: Bug #2378 [Com]: getDate(DATE_FORMAT_UNIXTIME) doesn't convert to GMT
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to [email protected] to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=2378&edit=1

 ID:               2378
 Comment by:       flintweather at gmail dot com
 Reported By:      scragz at hotmail dot com
 Summary:          getDate(DATE_FORMAT_UNIXTIME) doesn't convert to GMT
 Status:           Open
 Type:             Bug
 Package:          Date
 Operating System: Debian Sarge
 PHP Version:      4.3.8
 Roadmap Versions: 
 New Comment:

Unit test patched as of https://github.com/pear/Date/commit/ee6e1ff


Previous Comments:
------------------------------------------------------------------------

[2009-01-01 03:53:14] doconnor

16) /home/clockwerx/pear/Date/tests/bugs/bug-2378-1.phpt
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-1095935549
-1095935549
\ No newline at end of file
+943885800
+1230733800
\ No newline at end of file

/home/clockwerx/pear/AllTests.php:136
/home/clockwerx/pear/AllTests.php:525

------------------------------------------------------------------------

[2009-01-01 03:52:55] doconnor

Bug #14413 has broken this test

------------------------------------------------------------------------

[2008-11-09 02:56:03] doconnor

(broken: php 5.2.6, unbuntu)

------------------------------------------------------------------------

[2008-11-09 02:55:25] doconnor

Reopening,  because /home/clockwerx/pear/Date/tests/bugs/bug-2378-1.phpt
is broken in the unit tests

------------------------------------------------------------------------

[2008-03-23 19:04:28] c01234

Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download
at
http://pear.php.net/get/Date

------------------------------------------------------------------------

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://pear.php.net/bugs/bug.php?id=2378

-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=2378&edit=1


Thread (1 message)

« previous php.pear.bugs (#11427) next »