[hermes] future dates are marked as bygone

Jason M. Felice jfelice at cronosys.com
Tue Jan 4 08:11:47 PST 2005


Jens A. Tkotz wrote:

> Hello,
>
> the problem lies in framework/Form/Form.php in method getAgo().
> So its not only a hermes issue.
>
> its a little unnice that PEARs dateDiff only returns the absolute 
> number of days
> between two dates. so you need to call a second method.
>
> unified patch below.
>
> I also added a little catch for the case that an error occured.
>
> Regards,
>
> Jens

I've committed your patch, although I slightly tweaked the whitespace.

I'm happy to see others contributing to make Hermes better, that meets a 
need I have for collaboration, thanks!

-- 

 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302



More information about the hermes mailing list