6.0.0-beta1
8/7/25

[#1813] Add timeperiod as word after date
Summary Add timeperiod as word after date
Queue Nag
Queue Version HEAD
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester jens (at) peino (dot) de
Created 04/18/2005 (7416 days ago)
Due
Updated 12/01/2005 (7189 days ago)
Assigned
Resolved 12/01/2005 (7189 days ago)
Milestone
Patch No

History
12/01/2005 11:28:38 PM Chuck Hagenbuch Comment #4
State ⇒ Rejected
Reply to this comment
Incomplete patch, and UI-wise doubles the length of listings.
05/01/2005 11:24:15 AM jens (at) peino (dot) de Comment #3 Reply to this comment
This is currently behind my knowledge of horde.

So i doubt that i would be helpful if i would code this.
04/30/2005 04:39:52 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
For backwards compatibility reasons, and code cleanliness, the 
getAgo() method should be moved into Nag.php. And this should be done 
on the main listing, too, not just the portal blocks...
04/18/2005 05:11:31 PM jens (at) peino (dot) de Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Add timeperiod as word after date
Queue ⇒ Nag
New Attachment: nag_ago.diff Download
Reply to this comment
The patch is against horde/nag/lib/Block/summary.php



It adds a linebreak before the date and after it adds "tomorrow" or 
"in 2 days" or

"5 days ago".



The functionaliy comes from Horde_Form_Type_date::getAgo.

Jan suggested to put it in framework/Date. As i am not so familar with 
the horde structure i leave this to you.

Saved Queries