Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:27588 php.qa:27026 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90336 invoked by uid 1010); 22 Jan 2007 19:29:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90320 invoked from network); 22 Jan 2007 19:29:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2007 19:29:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@block-online.eu; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lists@block-online.eu; sender-id=unknown Received-SPF: error (pb1.pair.com: domain block-online.eu from 81.169.146.162 cause and error) X-PHP-List-Original-Sender: lists@block-online.eu X-Host-Fingerprint: 81.169.146.162 mo-p00-ob.rzone.de Solaris 10 (beta) Received: from [81.169.146.162] ([81.169.146.162:17830] helo=mo-p00-ob.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/52-07357-7A015B54 for ; Mon, 22 Jan 2007 14:29:44 -0500 Received: from ollie.block.home (dslb-084-063-180-156.pools.arcor-ip.net [84.63.180.156]) by post.webmailer.de (klopstock mo50) (RZmta 3.11) with ESMTP id j0MHD0L6002f1B; Mon, 22 Jan 2007 20:29:39 +0100 (MET) Date: Mon, 22 Jan 2007 20:29:39 +0100 (MET) To: internals@lists.php.net User-Agent: KMail/1.7.1 Cc: php-qa@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200701222028.59307.lists@block-online.eu> X-RZG-AUTH: jsAgD75E4FZRsMYse5W8COLJ40bV Subject: easter_date() II From: lists@block-online.eu (Oliver Block) 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