Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13043 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83998 invoked by uid 1010); 28 Sep 2004 07:28:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83092 invoked from network); 28 Sep 2004 07:28:40 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.242) by pb1.pair.com with SMTP; 28 Sep 2004 07:28:40 -0000 Received: by mproxy.gmail.com with SMTP id w67so247918cwb for ; Tue, 28 Sep 2004 00:28:40 -0700 (PDT) Received: by 10.11.117.63 with SMTP id p63mr136509cwc; Tue, 28 Sep 2004 00:28:39 -0700 (PDT) Received: by 10.11.117.13 with HTTP; Tue, 28 Sep 2004 00:28:39 -0700 (PDT) Message-ID: <4e89b426040928002878810190@mail.gmail.com> Date: Tue, 28 Sep 2004 08:28:39 +0100 Reply-To: Wez Furlong To: sterling@apache.org Cc: Derick Rethans , internals@lists.php.net In-Reply-To: <24e5f3b704092800024770534f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <24e5f3b704092721131f22c678@mail.gmail.com> <4158E567.1070101@apache.org> <24e5f3b704092800024770534f@mail.gmail.com> Subject: Re: [PHP-DEV] strptime patch From: kingwez@gmail.com (Wez Furlong) *cough* windows *cough* probably doesn't have strptime (not that you'd care ;-)) It's also probably a good idea to add the check for the wierdo unix flavours, just to be safe. --Wez. On Tue, 28 Sep 2004 00:02:59 -0700, Sterling Hughes wrote: > they are both in Single UNIX, its pretty reliable in my experience > where one is, the other follows. i've only ran into difficulties wrt > to what features are available on different OS', do you know a case > where strptime isn't avail and strftime is? > > -sterling > > On Tue, 28 Sep 2004 08:07:55 +0200 (CEST), Derick Rethans > > wrote: > > On Mon, 27 Sep 2004, Sterling Hughes wrote: > > > > > Sterling Hughes wrote: > > > > > > >i needed strptime() for a project i'm working on, its awful handy when > > > >you are making dates with strftime(). any objections to committing > > > >the attached patch? > > > > I think we need another #ifdef for this for the unlikely situation where > > strptime is not available and strftime is.