I am trying to carry out a very simple date computation, basically to give me yesterday’s date from a velocity date variable
Is there any simple inbuilt way to do this? I see the Velocity Guide calls for falling down into Java for this
I am trying to carry out a very simple date computation, basically to give me yesterday’s date from a velocity date variable
Is there any simple inbuilt way to do this? I see the Velocity Guide calls for falling down into Java for this
I’m not a Velocity expert, but I don’t know of a way to do this. The most straightforward thing to do would be to just add more functions to the Velocity Context in the HFE module to provide the capabilities that you need.
Added a PR HTML-797 Add Velocity date addition and utility functions by ssmusoke · Pull Request #252 · openmrs/openmrs-module-htmlformentry · GitHub if anyone can review
The documentation page has been updated