[pmwiki-users] Highlight pagelist search results based on time thresholds
Patrick R. Michaud
pmichaud at pobox.com
Sun Jul 13 14:26:11 CDT 2008
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
I don't have a good way of resolving this, short of restricting
the formats we pass to strtotime().
More information about the pmwiki-users