[dev] Re: [cvs] commit: jonah/lib htmlgen.php

Jon Parise jon@horde.org
Mon, 17 Sep 2001 11:52:59 -0400


On Mon, Sep 17, 2001 at 11:34:03AM -0400, Chuck Hagenbuch wrote:

> > In this case (LinuxToday) the modification date is quite a nice format: "Sep 
> > 17, 2001, 13:02:51" but strtotime is obviously not able to parse it 
> > correctly, it always returns -1. Since this is an already human readable 
> > format there's no need to do a date('...',strtotime()).
> 
> Hmm. Are there any standards about the date format in the feeds? Maybe we 
> should only pass it through unchanged if strtotime returns -1 ?

That sounds like a good solution to me.
 
-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (B.S.)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member