Skip to content
New issue

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

{% setcontent %} tag should work with relative dates #1608

Closed
I-Valchev opened this issue Jul 6, 2020 · 4 comments · Fixed by #1621
Closed

{% setcontent %} tag should work with relative dates #1608

I-Valchev opened this issue Jul 6, 2020 · 4 comments · Fixed by #1621

Comments

@I-Valchev
Copy link
Member

{% setcontent myarticles = 'entries' where { status: 'published', publishedAt: '< last monday' } %}
@bobdenotter
Copy link
Member

Duplicate of #1417

(which i was pretty sure I fixed, but apparently not)

@I-Valchev
Copy link
Member Author

hmm... maybe you did, but it doesn't work with the content dates? Or maybe I'm stupid and can't make it work.

@bobdenotter
Copy link
Member

No, it's broken alright.. I fixed it, but either my fix was wrong, or it got broken again.

@I-Valchev I-Valchev added this to the Bolt 4.0.0 stable milestone Jul 6, 2020
@bobdenotter
Copy link
Member

The issue here is the space between < and last monday.. PR incoming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants