PHP 4.0 Bug #3248: mail function putting wrong timezone info in message header?
| From: | chris at bcl dot co dot nz | Date: | Wed, 19 Jan 2000 00:29:30 +0000 |
| Subject: | PHP 4.0 Bug #3248: mail function putting wrong timezone info in message header? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14747@lists.php.net to get a copy of this message | ||
From: chris@bcl.co.nz
Operating system: Windows NT
PHP version: 4.0 Beta 3
PHP Bug Type: Misbehaving function
Bug description: mail function putting wrong timezone info in message header?
Not sure if this is really a PHP problem or just Microsoft at work, but
sending email using the "mail" function seems to give incorrect
timezone info in the "Date:" header. eg:
Received: from becks by macs.wn.bcl.co.nz; Wed, 19 Jan 2000 13:11:34 +1300 (NZDT)
(in this case becks=NT, macs=Unix - +1300 NZDT is correct)
Message-ID: <200001190011.NAA19048@macs.wn.bcl.co.nz>
Date: Wed, 19 Jan 2000 13:11:35 -1200
-1200 is wrong.
The NT timezone is set to +12:00 Auckland/Wellington, with Daylight saving enabled.