BorisMoore/jsrender — Issue #38: Calling functions within Template
Author: mokumax
Created: 2011-12-09 16:31:40+00:00
State: open

I'm switching from jquery templates and have it almost working.

I'm currently getting this error:

Error: $data.formatScheduleDateTime is not a function.

Here is my code:

{{=dateFormat(formatScheduleDateTime(DatePublished), 'dddd, mmmm dS, yyyy, h:MM TT') }}

Is there something special I need to do to call the function? i know the function exists.

Thanks,
Craig