incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: [jira] Resolved: (JSPWIKI-240) Date plugin modification
Date Sat, 12 Apr 2008 17:18:08 GMT

No, the answer is to open up a new issue in JIRA, and then debate the  
merits and cons.  It would probably be best to develop it as a  
contributed plugin and put it in jspwiki.org.  Then we can discuss  
whether it is worth to support it as a core plugin, because taking it  
in means that the development team must start supporting it.  I don't  
want to end up in the same situation as with WikiWizard that there is  
no support for it, yet it is a part of the distro.

This particular bug was about fixing some mythical Date plugin, which  
does not exist, and therefore it is invalid.

/Janne

On 12 Apr 2008, at 19:13, Christophe Dupriez wrote:
> Hey Janne! Goran says he has done the job (last line) and describe  
> the specs of it. He asks if he can contribute it.
> The answer is probably "you are very welcome to attach it into  
> JIRA". Is'nt it?
>
> May be the answer is "This is a Plugin: please add it into the Wiki  
> instead" ?
>
> Christophe
>
> Janne Jalkanen (JIRA) a écrit :
>>      [ https://issues.apache.org/jira/browse/JSPWIKI-240? 
>> page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Janne Jalkanen resolved JSPWIKI-240.
>> ------------------------------------
>>
>>     Resolution: Won't Fix
>>
>> There is no Date plugin in JSPWiki.  Declaring this invalid.
>>
>>
>>> Date plugin modification
>>> ------------------------
>>>
>>>                 Key: JSPWIKI-240
>>>                 URL: https://issues.apache.org/jira/browse/ 
>>> JSPWIKI-240
>>>             Project: JSPWiki
>>>          Issue Type: Improvement
>>>          Components: Plugins
>>>    Affects Versions: 2.6.2
>>>         Environment: Any
>>>            Reporter: Goran Karlic
>>>            Priority: Trivial
>>>
>>> _This issue originated from JSPWIKI-196_
>>> The *Date Plugin* needs to be modified in order to enable it to  
>>> represent points in time that are stored in an format independent  
>>> way.
>>> # Optional property {{format}} specified the format used for  
>>> output (_no modification_)
>>> ## If not specified reverts to the user's prefered format
>>> # Optional property {{value}} stores the date according to  
>>> {{jspwiki.defaultprefs.template.dateformat}} (e.g. yyyy-MM-dd  
>>> HH:mm:ssZ)
>>> ## If not specified reverts to the current date and time
>>> This allows the Date Plugin to be used in several ways:
>>> * {{[{Date}]}} would output the current time in the user's  
>>> prefered format
>>> * {{[{Date format='dd.MM.yyyy'}]}} would output  the current time  
>>> in the specfied format
>>> * {{[{Date format='dd.MM.yyyy' value='2008-01-31'}]}} would  
>>> output {{31.01.2008}}
>>> * {{[{Date value='2008-04-10 18:20:30+0200'}]}} would output the  
>>> specified point in time in the user's prefered format
>>> That can be used to do things like:
>>> {noformat}
>>> -- a.einstein commented this at [{Date value='1905-04-10 18:20:30 
>>> +0100'}]
>>> {noformat}
>>> and would allow that date and time values are stored independent  
>>> of their final representation format.
>>> *I wrote the Date Plugin as descibed above - what's the right way  
>>> to get it to included in the next build?*
>>>
>>
>>
>


Mime
View raw message