create-an-issue icon indicating copy to clipboard operation
create-an-issue copied to clipboard

Unable to call `date`, which is not a function

Open njimenezotto opened this issue 3 years ago • 0 comments

When using date on a template, it throws the following error:

 Error: Unable to call `date`, which is not a function
✖  fatal     Template render error: (unknown path) 
  Error: Unable to call `date`, which is not a function
    at Object._prettifyError (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:28831:11)
    at /home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:26986:19
    at Template.root [as rootRenderFunc] (eval at _compile (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:27056:18), <anonymous>:25:3)
    at Template.render (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:26975:10)
    at Environment.renderString (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:26803:17)
    at createAnIssue (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:38343:19)

njimenezotto avatar Jun 09 '21 06:06 njimenezotto