You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm assuming that I'm doing something completely wrong here. I'm trying to move some simple templates over to node. But, this one isn't firing and it's not clear from the docs or the source why this isn't working. I'm using 3.1.0
I'm assuming that I'm doing something completely wrong here. I'm trying to move some simple templates over to node. But, this one isn't firing and it's not clear from the docs or the source why this isn't working. I'm using 3.1.0
const jsmart = require('jsmart'); const template = '<td><strong>Date Collected: </strong>{strtotime($collection_date)|date_format:"m/d/Y"}</td>'; const compiled = new jsmart(template); console.log(compiled.fetch({ collection_date: '2020-01-01' }));
<td><strong>Date Collected: </strong>m/d/Y</td>
The text was updated successfully, but these errors were encountered: