10 Jul
2012
10 Jul
'12
5 p.m.
On 07/10/2012 07:13 AM, Hamster wrote:
As I said...something small...
Last updated at $datetool.format('medium',$myDate) Last updated at $datetool.format('yyyy-MM-dd',$myDate)
Why do we have to use $datetool instead of $date?
Why would you expect $date and not $datetool? $date is used in the example documentation of the Velocity DateTool tool, but that is just an example binding name. $datetool as a name (and the other tools as well) is documented at http://extensions.xwiki.org/xwiki/bin/Extension/Velocity+Module#HVelocityToo... All the tools are using a $*tool name in XWiki. -- Sergiu Dumitriu http://purl.org/net/sergiu/