Bug #14258 Updated: Date Timezone is not correct

From: Date: Sun, 02 Dec 2001 13:45:47 +0000
Subject: Bug #14258 Updated: Date Timezone is not correct
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72270@lists.php.net to get a copy of this message
ID: 14258
Updated by: derick
Reported By: 4wheeler@mediaone.net
Old Status: Duplicate
Status: Closed
Bug Type: Mail related
Operating System: Window 2000
PHP Version: 4.0.6
Assigned To: hholzgra
New Comment:

Fixed in CVS

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

[2001-11-28 05:02:41] hholzgra@php.net

dup. of #8909

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

[2001-11-27 16:40:09] derick@php.net

Already known (but I don't know which is the first bug #). This will be fixed when (and if) the
windows SMTP code gets rewritten.

Derick

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

[2001-11-27 15:38:12] venaas@php.net

I'm not able to test on windows myself, but I've got
some alternate code for computing the timezone in the
mail() function if anyone is interested. Rather than
using the _timezone variabel, I use the diff between
php_gmtime_r() and php_localtime_r(). This is pretty
straightforward. Don't know it it helps.

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

[2001-11-27 14:38:23] 4wheeler@mediaone.net

PHP is reversing the timezone.  Please help!  

This is correct

Internet Mail Service Version 5.5.2653.13)
	id W8DSHGQW; Tue, 27 Nov 2001 11:31:20 -0800

This is wrong

Date: Tue, 27 Nov 2001 11:36:25 +0800


Entire email headers

-Path: <anonymous@anywhere.net>
Received: from chmls21.mediaone.net ([24.147.1.164]) by
          lsmls04.we.mediaone.net (Netscape Messaging Server 4.15) with
          ESMTP id GNH4XI00.HJF for <4wheeler@mediaone.net>; Tue, 27 Nov
          2001 11:32:06 -0800 
Received: from laxntm02.studiosusa.com (messaging.studiosusa.com [216.101.81.197])
	by chmls21.mediaone.net (8.11.6/8.11.6) with ESMTP id fARJWn007330
	for <4wheeler@mediaone.net>; Tue, 27 Nov 2001 14:32:50 -0500 (EST)
Message-Id: <200111271932.fARJWn007330@chmls21.mediaone.net>
Received: by LAXNTM02 with Internet Mail Service (5.5.2653.19)
	id <W8DSHGQY>; Tue, 27 Nov 2001 11:31:23 -0800
Received: from LAXNTA03 ([172.17.1.19]) by laxntm02.studiosusa.com with SMTP (Microsoft Exchange
Internet Mail Service Version 5.5.2653.13)
	id W8DSHGQW; Tue, 27 Nov 2001 11:31:20 -0800
From: anonymous@usanetworks.com
To: 4wheeler@mediaone.net
Date: Tue, 27 Nov 2001 11:36:25 +0800
Subject: test




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



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



Thread (5 messages)

« previous php.dev (#72270) next »