TimeSincePlugin Development

This is the topic to discuss development of download TimeSincePlugin

help If you need support, go to Support.TimeSincePlugin where you can ask questions and find answers to previously asked questions. warning If you want to report a bug, or a feature request, go to Tasks.TimeSincePlugin where you can see already submitted issues and where you can submit a new bug report or feature request.

Active Items

Discussion

here's a poor man's version of TimeSincePlugin:

%CALC{$FORMATTIMEDIFF(min, 1, $ROUND($TIMEDIFF($TIME($date), $TIME(), min)))}%
%CALC{$FORMATTIMEDIFF(min, 1, $ROUND($TIMEDIFF($TIME($createdate GMT), $TIME(), min)))}%

or, as appropriately escaped for a %SEARCH% example in MyItems:

%SEARCH{
"(CurrentState='Waiting for Release' OR CurrentState='Closed' OR CurrentState='No Action Required')"
web="Tasks" topic="Item*" type="query" 
nonoise="on" nototal="off" order="modified" reverse="on" limit="5"
header="| *Id* | *Applies To* | *Summary* | *State* | *Last Edit* | *By* |"
format="| [[$web.$topic][$topic]] | $formfield(AppliesTo) $formfield(Component) | $formfield(Summary) | $formfield(CurrentState) | <span style='white-space:pre;'>$formfield(CurrentState)</span> | <span style='white-space:pre;'>$percntCALC{$FORMATTIMEDIFF(min, 1, $ROUND($TIMEDIFF($TIME($date), $TIME(), min)))}$percnt</span> | [[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?name=$wikiname][$wikiname]] |"
}%

Id Applies To Summary State Last Edit By
Item14909 Engine Failed to use FoswikiPmFunctionTests No Action Required No Action Required 5 days TimothyLegge
Item14902 Engine Documentation Add new Ubuntu 20.04 required perl module to requirements Waiting for Release Waiting for Release 5 days TimothyLegge
Item14908 Engine cannot use 0 as a formfield default Waiting for Release Waiting for Release 6 days MichaelDaum
Item14906 Engine OP_ref has to read data relative to the topic being queried Waiting for Release Waiting for Release 8 days MichaelDaum
Item14904 Extension UnitTestContrib $* is no longer supported as of Perl 5.30 Closed Closed 8 days MichaelDaum
Number of topics: 5

-- WillNorris - 12 May 2009

When Pth created the formattimediff I told him that there's a plugin for that already. In any case I try to avoid using CALC wherever possible, mostly because I can't remember its syntax wink

-- MichaelDaum - 12 May 2009
Topic revision: r3 - 12 May 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy