From owner-freebsd-stable@FreeBSD.ORG Mon Feb 14 12:05:53 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B10B716A4CE for ; Mon, 14 Feb 2005 12:05:53 +0000 (GMT) Received: from gwmail1.grupos.com.br (gwmail1.grupos.com.br [66.90.64.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53D8D43D46 for ; Mon, 14 Feb 2005 12:05:53 +0000 (GMT) (envelope-from marcus@corp.grupos.com.br) Received: from corp.grupos.com.br (unknown [150.162.166.55]) by gwmail1.grupos.com.br (Postfix) with ESMTP id 9B4DF3D0FD; Mon, 14 Feb 2005 10:05:52 -0200 (BRST) Received: from [150.162.166.51] (noc.grupos.com.br [150.162.166.51]) by corp.grupos.com.br (Postfix) with ESMTP id E02DE20A5B; Mon, 14 Feb 2005 10:05:51 -0200 (BRST) Message-ID: <4210941E.7070202@corp.grupos.com.br> Date: Mon, 14 Feb 2005 10:05:50 -0200 Organization: Grupos Internet S/A From: Marcus Grando User-Agent: Mozilla Thunderbird 0.6+ (X11/20050212) MIME-Version: 1.0 To: Peter Jeremy , freebsd-stable@freebsd.org References: <420D3CB0.2030101@corp.grupos.com.br> <20050212205104.GF62061@cirb503493.alcatel.com.au> In-Reply-To: <20050212205104.GF62061@cirb503493.alcatel.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mktime() bug? result strtotime() fail in PHP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 12:05:53 -0000 Hi, Peter Jeremy wrote: > To be pedantic, FreeBSD 4.11 is correct and the others are wrong. If ^^^^^^ Also FreeBSD 5.3-STABLE? > DST started at 2004-11-02 00:00 local time then you can't convert a local > time of 2004-11-02 00:00:00 because that time doesn't exist - your local > time goes 2004-11-01 23:59:59, 2004-11-02 01:00:00, 2004-11-02 01:00:01. I know, but timestamp return is better of that -1. -- Marcus Grando Grupos Internet S/A marcus(at)corp.grupos.com.br