plone / plone/plone.app.querystring

Before and after relative date operator

Open
#81 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

04 type: enhancement
Dominant language
Python
Stars
2
Forks
25
Avg merge
1d 16h
Merged PRs (30d)
2

Description

Hi everybody,

we need something that is not possible for now I think, it is a way to look for elements 30 days before a date and 30 days after. For now you may query 30 days before or 30 days after now but not in the interval.

Something like lessAndMoreThanRelativeDate in addition to existing _lessThanRelativeDate and _moreThanRelativeDate operators.

To enter value I would like to ease things by just setting one value (like "30") using this value for before/after, or a notation like 20:40 if we need different values for before and after.

Does that seem receivable, any hints or remarks?

Thank you,

Gauthier

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.