ID:               36531
 Comment by:       judas dot iscariote at gmail dot com
 Reported By:      tehughes at wisc dot edu
 Status:           Open
 Bug Type:         Date/time related
 Operating System: linux
 PHP Version:      4.4.2
 New Comment:

your problem is not reproducible in latest PHP 5.1.3-dev CVS,apache 2 ,
linux/amd64.


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

[2006-02-25 22:38:55] tehughes at wisc dot edu

Description:
------------
date("g",x) where x is some int literal will print out 
different things depending on when I load it, either 2 hours 
before or after the actual time. 

Reproduce code:
---------------
echo "[[" . date("g:ia",39600) . "]]";

Expected result:
----------------
At this point I'm actually not sure what the correct time is. 
PHP gives me 4:00am or 6:00am depending on the page load.

I have no idea what could be causing this.

Actual result:
--------------
[[6:00am]]

-- next page load --

[[4:00am]]

-- next page load --

[[4:00am]]


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


-- 
Edit this bug report at http://bugs.php.net/?id=36531&edit=1

Reply via email to