#40937 [Csd->Bgs]: date() and dst update

From: Date: Mon, 16 Apr 2007 14:27:33 +0000
Subject: #40937 [Csd->Bgs]: date() and dst update
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111545@lists.php.net to get a copy of this message
ID: 40937 Updated by: derick@php.net Reported By: ctrlaltca at libero dot it -Status: Closed +Status: Bogus Bug Type: Date/time related Operating System: Slackware Linux PHP Version: 5.2.1 New Comment: Okay, good to know. I will mark this bug as "Bogus" as it was not a bug in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-04-16 13:36:41] ctrlaltca at libero dot it I tried this script on other machines and it's working correctly as you said. Only my work pc was acting bad. Reformatted and reinstalled, now it's working right. It seems it was something corrupted on my pc. Sorry for wasting your time.. ------------------------------------------------------------------------ [2007-04-11 14:06:42] derick@php.net I get the following correct output: |Sat, 24 Mar 2007 22:00:00 +0100|1174770000|20070324 220000 +0100 CET| |Sat, 24 Mar 2007 22:00:00 +0100|1174773600|20070324 230000 +0100 CET| |Sat, 24 Mar 2007 22:00:00 +0100|1174777200|20070325 000000 +0100 CET| |Sat, 24 Mar 2007 22:00:00 +0100|1174780800|20070325 010000 +0100 CET| |Sat, 24 Mar 2007 22:00:00 +0100|1174784400|20070325 030000 +0200 CEST| |Sat, 24 Mar 2007 22:00:00 +0100|1174788000|20070325 040000 +0200 CEST| |Sat, 24 Mar 2007 22:00:00 +0100|1174791600|20070325 050000 +0200 CEST| |Sat, 24 Mar 2007 22:00:00 +0100|1174795200|20070325 060000 +0200 CEST| after modifying your date line to: $curdate=date("Ymd His O T",$c); ------------------------------------------------------------------------ [2007-04-04 09:47:39] ctrlaltca at libero dot it root@tiamat:~# php -r "echo date_default_timezone_get();" Europe/Berlin It's an alias for GMT+1 ------------------------------------------------------------------------ [2007-04-03 18:52:22] derick@php.net What does the following output: echo date_default_timezone_get(), "\n"; ------------------------------------------------------------------------ [2007-03-31 17:51:15] ctrlaltca at libero dot it sorry, i forgot to update bug summary ------------------------------------------------------------------------ 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://bugs.php.net/40937 -- Edit this bug report at http://bugs.php.net/?id=40937&edit=1

« previous php.bugs (#111545) next »