Hi, > On 20 Jan 2017, at 08:27, [IDIS Technical Secretariat] Ricardo Rodríguez > <ricardo.rodrig...@idisantiago.es> wrote: > > Hi! The same code works fine in an XWiki 7.3 installation... > > http://portal.idisantiago.es/xwiki/bin/view/ICT/PureDate/ > > Thus, "my" problem is to find where ComparisonDateTool is located in this > installation and make it works in a legacy XWiki Enterprise 2.4.30451 one.
Wow XE 2.4 is really old... I don’t remember if the $datetool binding was available and it’s possible that it wasn’t. FYI it’s located in a java class in the xwiki-velocity*.jar file. Thanks -Vincent > > Any help will be welcome! Thank! > > On Thu, Jan 19, 2017 at 11:41 PM [IDIS Technical Secretariat] Ricardo > Rodríguez <ricardo.rodrig...@idisantiago.es> wrote: > >> Hi! I've been these last days trying to regain access to an ancient issue >> while dealing with dates. Searching Jira I found this... >> >> http://jira.xwiki.org/browse/XWIKI-5610?jql=text%20~%20%22datetool%22 >> >> ... and this at XWiki Platforma site... >> >> http://platform.xwiki.org/xwiki/bin/view/SRD/datetool >> >> To the best of my understanding ComparisonDateTool is implemented and >> accessible through $datetool velocity variable. But I'm not able to get it >> working. >> >> On Thu, Jan 19, 2017 at 3:54 PM Hamster <teun...@hotmail.com> wrote: >> >> Have you checked the documentation for the DateTool >> < >> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/DateTool.html >>> >> and the ComparisonDateTool >> < >> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/ComparisonDateTool.html >>> >> ? >> >> >> Please, check this page... >> >> http://atriumkm.idisantiago.es/bin/ICT/PureDate >> >> I'm able to get working the examples at DateTool page, but not those at >> ComparisonDateTool page. Please, could anybody point us in the right >> direction? Where are we failing? >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/jodatime-challenge-tp7602468p7602489.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> >> >> Thank you very much for your work! >> >> Ricardo >> -- >> Ricardo Rodríguez >> Research Management and Promotion Technician >> Technical Secretariat >> Health Research Institute of Santiago de Compostela (IDIS) >> http://www.idisantiago.es >> > -- > Ricardo Rodríguez > Research Management and Promotion Technician > Technical Secretariat > Health Research Institute of Santiago de Compostela (IDIS) > http://www.idisantiago.es