On Sun, Jul 13, 2008 at 07:08:07PM +0100, Hans wrote: > > I think generally ftime is quite clever, but I wonder how good it is > to apply current time instead of returning nothing: it leads to errors > which may get unnoticed.
ftime simply calls PHP's strtotime() function for any formats that ftime itself doesn't recognize. It's the strtotime() function that returns the current time for formats it doesn't understand. I don't have a good way of resolving this, short of restricting the formats we pass to strtotime(). Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
