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

Jan Schneider janmailing@gmx.de
Mon, 17 Sep 2001 22:42:32 +0200


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

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > So I still think the function should only be used if we know which format
> the 
> > parsed field has and that strtotime parses this one correctly.
> 
> How do you propose do to that? I'd never noticed a problem with using
> strototime
> () here before; using it lets us use user-preferred date formats like we do
> in 
> other parts of Horde. IMHO that's a good thing...

I don't know what that has to do with user-preferred formats.

I'm not against using strtotime, only if we aren't able to predict the format 
to be parsed because this could in return cause unpredictable results. That's 
all.

Jan.