Re: future dates are marked as bygone
"Jason M. Felice" <[email protected]> Tue, 04 Jan 2005 11:11:47 -0500
| Newsgroups | gmane.comp.horde.hermes |
|---|---|
| Message-ID | <[email protected]> |
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 -- hermes mailing list - Join the hunt: http://horde.org/bounties/#hermes Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]