#28685 [Opn->Bgs]: function Mail() does not take daylightsaving time into account
| From: | iliaa@php.net | Date: | Tue, 08 Jun 2004 15:00:41 +0000 |
| Subject: | #28685 [Opn->Bgs]: function Mail() does not take daylightsaving time into account | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60582@lists.php.net to get a copy of this message | ||
ID: 28685
Updated by: iliaa@php.net
Reported By: marcel at hoogantink dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: WINDOWS (XP)
PHP Version: 4CVS-2004-06-07 (stable)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
The date header is not being set by PHP.
Previous Comments:
------------------------------------------------------------------------
[2004-06-07 23:23:37] marcel at hoogantink dot com
I changed the Summary a little
------------------------------------------------------------------------
[2004-06-07 23:21:32] marcel at hoogantink dot com
Description:
------------
Sending mail with the PHP function Mail() gives a date in the mail that
does not have the daylight saving time effect in it.
I am using Windows XP with GMT+1.00 and daylight savings (at this time
of yaer) so in fact my time is GMT+2:00.
I am running Apache 1.3.31 fow Win32 with PHP (latest build)
Sending a mail gives a mail with a date GMT+1:00. (wrong)
Sending a mail with outlook gives a date GMT+2:00 (OK)
Whatch out: Normal you see this only in the header, because in 'normal'
internet-mail this wrong time is "overruled" by other mailservers, and
a assume that the last time stamp is used bij de mail-client like
Outlook.
I found it because I was locally emulating my Site with apache PHP and
a little mailserver, and in my Email there was only ONE date: the one
mail() created.
Trying the same mail with outlook give the rigt time
Reproduce code:
---------------
Any call to mail() with Win XP.
Expected result:
----------------
Message-ID: <000a01c44cd2$2fd248d0$f0b9b6d4@hoogantink>
Reply-To: "Marcel Hoog Antink" <marcel@hoogantink.com>
From: "Marcel Hoog Antink" <marcel@technosoft.nl>
To: "Marcel-Technosoft" <hoogantink@technosoft.nl>
Subject: test via netmailshar 22:58
Date: Mon, 7 Jun 2004 22:58:29 +0200
Actual result:
--------------
Date: Mon, 07 Jun 2004 22:57:18 +0100
Subject: Test van de Technosoft Helpdesk Enquete (tav M. J. Hoog
Antink(ts))
To: hoogantink@technosoft.nl
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: Technosoft Support <enquete@technosoft.nl>
Reply-To: Technosoft Support <enquete@technosoft.nl>
Return-Path: Technosoft Support <enquete@technosoft.nl>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28685&edit=1