Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47084 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92418 invoked from network); 2 Mar 2010 11:32:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2010 11:32:11 -0000 Authentication-Results: pb1.pair.com header.from=yoarvi@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=yoarvi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: yoarvi@gmail.com X-Host-Fingerprint: 74.125.83.170 mail-pv0-f170.google.com Received: from [74.125.83.170] ([74.125.83.170:54232] helo=mail-pv0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/34-01851-937FC8B4 for ; Tue, 02 Mar 2010 06:32:10 -0500 Received: by pvg7 with SMTP id 7so36706pvg.29 for ; Tue, 02 Mar 2010 03:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Z46xikMEjJDNzJzy3bzhDfWoTF2L2himdnr/G2FxpfQ=; b=Pyn6YmRhlm+N8ddrkC3Wxbprd33W/dlzIac6CzJtxpCw8MlLDOpxgZEJ0wppjs0dG/ t9InT3myM8ONBaFcgF9CZ+EG3bwSJVMqmvdaBLDGsMgxkwa4Y5ldr0pMIMSzmANYYxvi 6ay6LNuyvV5+TziMLolp4a/ArPKYg08TIRtEc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oiUfi0CuaotmeTlj7J8nd8RntN6RRlAmOCI08snWbCpq9iO6/Z8ng147zW2RkSN0zT kfsVO8mnd8lFG1Pkb0rzTcnY812KFts0PmPXIlw87XEXJH8fKIVqx4GIclTsiOmUdkXV v82+GmsfU2AwYpwY+3cKzF5r5efO/wfBF9Orc= MIME-Version: 1.0 Received: by 10.114.2.20 with SMTP id 20mr3302898wab.191.1267529527274; Tue, 02 Mar 2010 03:32:07 -0800 (PST) In-Reply-To: References: Date: Tue, 2 Mar 2010 17:02:07 +0530 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Patches for a few Date/time related bugs From: yoarvi@gmail.com (Arvind Srinivasan) Hi Derick, When you have some time, please could you review the patches I've added to each of the following date/time-related bugs. If the fix for 49778 is applied, then I'll need to change one of the other test cases (50559) that prints the days value of DateInterval objects. http://bugs.php.net/bug.php?id=49778 DateInterval::format("%a") is always zero http://bugs.php.net/bug.php?id=50475 - DateTime::setISODate followed by DateTime::setTime http://bugs.php.net/bug.php?id=49059 - DateTime::diff() repeats previous sub() operation http://bugs.php.net/bug.php?id=49904 - DateTime::modify('last day') returns last day of the month http://bugs.php.net/bug.php?id=46111 (strtotime() returns false for some valid timezones) http://bugs.php.net/bug.php?id=48902 ( datetimezone uses calcutta or kolkata) http://bugs.php.net/bug.php?id=50559 (Clone is not implemented for DateInterval and DatePeriod) Thanks, Arvi