We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This might be an issue with the node version I'm using but I'm not sure.
Using an expression as follows works fine
{{ new Date($page.frontmatter.date) }}
However, if I pass the date as a string directly like so
{{ new Date("2017-05-08 09:50:00 EST") }}
the build fails. The error I get is that I should
- avoid using JavaScript keyword as property name: "new" Raw expression: {{ new Date("2017-05-08 09:50:00 EST") }}
Do expressions not support passing arguments as strings to constructors?
The text was updated successfully, but these errors were encountered:
be42da5
No branches or pull requests
This might be an issue with the node version I'm using but I'm not sure.
Using an expression as follows works fine
However, if I pass the date as a string directly like so
the build fails. The error I get is that I should
Do expressions not support passing arguments as strings to constructors?
The text was updated successfully, but these errors were encountered: