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

Feature: inclusive when selecting from date #372

Open
TheSquiffy opened this issue Jan 18, 2019 · 1 comment
Open

Feature: inclusive when selecting from date #372

TheSquiffy opened this issue Jan 18, 2019 · 1 comment
Labels

Comments

@TheSquiffy
Copy link

When selecting records with date range functions (before/after) we can't set equivalent wp__query inclusive="true", so border days are left out.

This option should be easly implemented with inclusive="true" as pass through or it could be shortened with something like before="+YYYY/MM/DD" / after="+YYYY/MM/DD"

I perfectly understand that one could use to set a day more/less in options but I'm currently wrapping from php code and this forces me to convert the string to date, add/subtract 1 day and go back to string... which is not very comfortable :-)

Thanks

@stale stale bot added the wontfix label Jun 17, 2020
@stale stale bot closed this as completed Jun 24, 2020
Repository owner deleted a comment from stale bot Jul 2, 2020
@picandocodigo
Copy link
Owner

Need to check this, it should be easier to implement now in the date include.

@picandocodigo picandocodigo reopened this Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants