php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14258 Date Timezone is not correct
Submitted: 2001-11-27 14:38 UTC Modified: 2001-12-02 08:45 UTC
From: 4wheeler at mediaone dot net Assigned: hholzgra (profile)
Status: Closed Package: Mail related
PHP Version: 4.0.6 OS: Window 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: 4wheeler at mediaone dot net
New email:
PHP Version: OS:

 

 [2001-11-27 14:38 UTC] 4wheeler at mediaone dot 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-27 15:38 UTC] 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 16:40 UTC] 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-28 05:02 UTC] hholzgra@php.net
dup. of #8909
 [2001-12-02 08:45 UTC] derick@php.net
Fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC