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

Timing of embargo release #1174

Open
sarahjeansweeney opened this issue Oct 23, 2018 · 2 comments
Open

Timing of embargo release #1174

sarahjeansweeney opened this issue Oct 23, 2018 · 2 comments

Comments

@sarahjeansweeney
Copy link

When users set an embargo for a file, they select the date the file will be made available (the release date). It appears that files are being released the day following the release date, not on the selected release date. For example, this record is set to be released today, October 23:

This item is under embargo and its content will be available for download and viewing on October 23, 2018

2018-10-23_1532

But, the embargo message still displays and the file is not available for download. The file should be made available for download on the day selected for the embargo release date.

@dgcliff
Copy link
Member

dgcliff commented Oct 23, 2018

Looking at the Solr code it appears to be a matter of range inclusion/exclusion logic. I'll work on a patch.

@dgcliff
Copy link
Member

dgcliff commented Oct 23, 2018

Actually looking at the solr doc, embargo is set at end of day instead of beginning of day

2018-10-23T23:59:59Z

Should be an easy fix

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

No branches or pull requests

2 participants