Skip to content

Items with a publication period set to a date in the future are displayed in the web part. #1895

Answered by wobba
chenningwsjp asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if you added spaces or not above.. but the query should be:

RefinableDate00<=today RefinableDate01>=today

Also the date stored in the index is stored as Z time. If the item is added in say PST which is -9 hours, then the translation of "today" can likely break what you are looking for.

You can try to use query variables instead as we then replace the date in the web part based on your local time adjusted to Z time

RefinableDate00<={Today} RefinableDate01>={Today}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chenningwsjp
Comment options

Answer selected by wobba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1889 on March 03, 2022 15:44.