Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40735 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51440 invoked from network); 27 Sep 2008 09:28:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Sep 2008 09:28:40 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.204.224 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.204.224 qb-out-0506.google.com Received: from [72.14.204.224] ([72.14.204.224:39360] helo=qb-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/F3-30545-7CCFDD84 for ; Sat, 27 Sep 2008 05:28:39 -0400 Received: by qb-out-0506.google.com with SMTP id d8so986402qbc.23 for ; Sat, 27 Sep 2008 02:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GKeQfMs0xstiYORhzwtCbN63H9Mxic/a3SrAe7xgXRM=; b=uj5BfZmgf9zHy/O8JmwPnovH6KGWr1TrKGfEh8k+2AG46eHQQcI3Xx3j1UVRKe5x4P jT7igJt7MgBmCU4uBipg1WQFdLQW5pSvlgeQtT+QqU8vhsxXdpRRuhCLHx98kjSVV7dY NeIalR4CbOWS2G2O4sl9o8Q6S4CYxKOE9t21M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ild/77rc9/cVuBLMH3uwTtP1B9cgsH3Ldbz5U3ff7SgpVQhQS+aJ6PNWqqunHdWFNL 0bMyO9xnbUZph/RoR10riqKHQ7r6o2u0tV6/e7+8aItyKSCZkkGy+r+V/yRdHMiVwNhS oNMOx8R3po+urV+w66+6vPvOKRomcODM9i3m4= Received: by 10.103.23.4 with SMTP id a4mr1758521muj.17.1222507715623; Sat, 27 Sep 2008 02:28:35 -0700 (PDT) Received: by 10.103.179.15 with HTTP; Sat, 27 Sep 2008 02:28:35 -0700 (PDT) Message-ID: <7f3ed2c30809270228w5e66eca0y8890395d4204d58d@mail.gmail.com> Date: Sat, 27 Sep 2008 11:28:35 +0200 To: "Ilia Cheishvili" Cc: "PHP internals" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [PHP-DEV] [PATCH] Fix date() bug From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Sat, Sep 27, 2008 at 09:04, Ilia Cheishvili wrote: > Hi all, > This patch addresses the issue with the date() function. When passing in a > 'u', the date() function simply outputs six zeros. To fix this, I added a "Note: Since this function only accepts integer timestamps the u format character is only useful when using the date_format() function with user based timestamps created with date_create(). " ? -Hannes