chrome-pdf date format on footer template
-
Using chrome-pdf with a footerTemplate <span class="date"></span> the date is
rendered as mm/dd/yyyy - how can I make it render dd/mm/yyyy ?Thanks!
-
Use the templating engine helper to achieve this
<span>{{formatedNow}}</span>
helper function in the main
const moment = require('moment') function formatedNow() { return moment().format('DD/MM/YYYY') }
-
Tried to no avail.
Can you please demo the same (passing the scripts) using client.render call ? (where do you
put the various pieces: scripts/extensions etc...Thanks