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

Jan Schneider janmailing@gmx.de
Mon, 17 Sep 2001 17:18:46 +0200


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@ammma.de>:
> 
> >   Log:
> >   strtotime doesn't work properly.
> 
> Care to explain this? We use it in a number of places...

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()).

Jan.