date('r') has bug. It will be fixed in 4.0.5.
day light saving will also be fixed in 4.0.5.
(Is it only in CVS? I thought it will be in 4.0.5)
Just FYI.
--
Yasuo Ohgaki
""Marck D. Pearlstone"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi James,
>
> On 02 April 2001 at 16:01:54 +0100 (which was 16:01 where I live)
> James Moore wrote to David Elliott and made these points:
>
> >> Date: Fri, 30 Mar 2001 13:42:59 0000
> >>
> >> it should be.
> >>
> >> Date: Fri, 30 Mar 2001 13:42:59 +0100
> >>
> >> I have checked the server for time zone etc.
> >>
> >> I also run an SMTP server from it (Not exchange) and everything is OK on
> >> that.
>
> JM> I just checked this with 4.0.5RC5 and 4.0.6-dev and it works for
> JM> me.. looks like screwed Daylight savings time doesnt seem to be a
> JM> problem with PHP although because it doesnt touch the date header
> JM> (which is done by the mail server itself.) One option is to set
> JM> your own valid date header using the extra argument to mail.
>
> Doing this (from a server in the UK), using:
>
> mail( $to, $subj, $body, "Date: ".date("r"));
>
> I get a date of:
>
> Date: Wed, 4 pr 2001 13:00:00 -0100
>
> which makes the cure worse than the problem!
>
> I've tried using setlocale( LC_TIME, "uk_UK") but that doesn't help. I
> think I'll let the mail server put its incorrect date in rather than
> use the even more incorrect one that PHP provides :-(... unless anyone
> has any other ideas.
>
> - --
> Cheers -- .\\arck D. Pearlstone -- Consultant Software Engineer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> [ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com ]
>
> Headline - Drunken Drivers Paid $1000
>
> -----BEGIN PGP SIGNATURE-----
> Version: 6.5.8ckt (build 04)
> Comment: PGP Sealed for freshness
>
> iQA/AwUBOssXyTnkJKuSnc2gEQLuzgCg82lYV4JJaQS1MF9aPd3hqJ4GhtQAoMrn
> iIg5pc7CA0gRaQckevxbqc2J
> =sRtb
> -----END PGP SIGNATURE-----
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]