Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:27589 php.qa:27027 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92794 invoked by uid 1010); 22 Jan 2007 19:34:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92778 invoked from network); 22 Jan 2007 19:34:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2007 19:34:25 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.247 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.132.247 an-out-0708.google.com Received: from [209.85.132.247] ([209.85.132.247:54543] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/C2-07357-0C115B54 for ; Mon, 22 Jan 2007 14:34:24 -0500 Received: by an-out-0708.google.com with SMTP id c28so532584ana for ; Mon, 22 Jan 2007 11:34:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dIBvPOfBhFEn7T5panB4GS189Jvq3K4ylYAmp9aeeNrYRTvjhL/twiOUEs8pj7PRoCo2Dbg9bi3YuFx8Vw1lUfB5do7vK5f+RAx7a3xCMfZp0PC26Zkj6MYGkACZfcPzxFpOZV3+dd6Wv4rDkThkmTbKbx5WljrJuUvqCgYLKe4= Received: by 10.65.234.2 with SMTP id l2mr8161687qbr.1169494462444; Mon, 22 Jan 2007 11:34:22 -0800 (PST) Received: by 10.65.241.7 with HTTP; Mon, 22 Jan 2007 11:34:22 -0800 (PST) Message-ID: Date: Mon, 22 Jan 2007 20:34:22 +0100 To: "Oliver Block" Cc: internals@lists.php.net, php-qa@lists.php.net In-Reply-To: <200701222028.59307.lists@block-online.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200701222028.59307.lists@block-online.eu> Subject: Re: [PHP-DEV] easter_date() II From: pierre.php@gmail.com (Pierre) Hi Oliver, Report a bug using bugs.php.net (with a link to the patch diff -up :) This way it will not get lost in the internals archive. On 1/22/07, Oliver Block wrote: > Hello, > > easter_date() returns a timestamp produced by C's mktime(). > (ext/calendar/easter.c:111): > > Z_LVAL_P(return_value) = mktime(&te); > > AFAIK mktime() (time.h) is different to php's mktime() as it does not consider > php's timezones, i,e, C's mktime does always return a timestamp of the local > timezone. At least I conclude that from own tests. > PHP's date functions on the other hand interpret the timestamp with respect to > the php (default?) timezone. > > This leads to the wrong test results of easter_date.phpt as described in my > posting from 22. Jan. > > Regards, > > Oliver > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >