Mustache: date and formatDate
grin-global/grin-global-ui!518 adds two helper functions year
and formatDate
:
^FO270,130^FD{{#formatDate}}{{!yyyy-MM-dd}}{{inventory.propagationDate}}{{/formatDate}}^FS
And
^FO270,130^FD{{#year}}{{inventory.propagationDate}}{{/year}}^FS
Please replicate this functionality in our TemplatingServiceImpl
on the server. Implementation details are in the MR.