create new tag
, view all tags

Feature Proposal: Show relative dates in WebChanges


I would like to show how long ago a topic was edited, instead of (only) its abolute time. For instance:

AlwaysServerTimeZone  50 minutes ago - r1.35
Always see local server time, everywhere, never anything else Some people have this specific requirement, e.g. on company intranets that are not international. Some ...
21 Jul 2004 - 06:21 - r1.35


This would mean that each topic edit date is matched against the current time NOW.

It would be handy if this was an output argument in a SEARCH, for instance relativeDate = on.

Then there are the date words: minute, hour and day, each singular (minute == 1 and so on) and plural (the other cases).

-- ArthurClemens - 19 Apr 2005

Impact and Available Solutions





I think this is a great idea, from a usability perspective.

-- CrawfordCurrie - 19 Apr 2005

i implemented this functionality for O'Wiki, and could bring it into TWiki. however, it used CPAN:Date::Calc, which is not a pure perl module... (or, more accurately, depends on other CPAN modules, which aren't pure perl)

-- WillNorris - 19 Apr 2005

Hey, this is great! A side benefit of it is that it would make partially irrelevant the lack of ShowLocalTimeOfUser.

-- LynnwoodBrown - 19 Apr 2005

If it's not pure perl, and even if it adds another dependency on a CPAN module, it is't worth putting into the core. Surely it can't be that hard to convert a time difference in seconds to one in days? ($thisTime - $lastTime) / (60*60*24).' days ago'

-- CrawfordCurrie - 20 Apr 2005

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-04-20 - CrawfordCurrie
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.