|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-05 21:26 UTC] matthew at syxton dot com
[2007-12-08 15:42 UTC] derick@php.net
[2007-12-09 09:02 UTC] andrew at confirmalert dot com dot au
[2007-12-09 12:08 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 11:00:01 2025 UTC |
Description: ------------ Date function parses correct unix timestamp in PHP 5.0.3 but not in PHP 5.2.4. I have set the timezone of the webserver to Casablanca Morroco which is a timezone that does not observe ANY daylight savings changes (i.e. it is a constant time) even though the server is physically located in San Diego USA. Reproduce code: --------------- date("Y-m-d @ g:i", 1190671200); Expected result: ---------------- //Expected 2007-09-25 @ 8:00 Actual result: -------------- //Produces 2007-09-25 @ 9:00