In the dev mailing list, I saw years ago that $datetool was changed to point to
ComparisonDateTool. This gave it added functionality. Also, the documentation on
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting says it is a
ComparisonDateTool.
My problem is, it doesn't act like a ComparisonDateTool, it acts like DateTool.
Works:
$datetool.get('dd.MM.yyyy HH:mm')
Does not work:
$datetool.difference('2005-07-04','2007-02-15')
Is there a way to get a ComparisonDateTool object? And is it known that it's simply a
DateTool again, or am I wrong?