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

Deal with multiple docs within a day #73

Open
lunakv opened this issue Jun 8, 2024 · 0 comments
Open

Deal with multiple docs within a day #73

lunakv opened this issue Jun 8, 2024 · 0 comments
Labels
bug Something isn't working low priority Things to do when everything else is working

Comments

@lunakv
Copy link
Owner

lunakv commented Jun 8, 2024

There were two versions of the IPG that were released effective 2017-09-29. The reason for this appears to be some quick errata in section 2.1.

The API retrieves the files by date, meaning it assumes only a single document was released at any given day. We somehow need to account for those two versions existing on the exact same date.

We could just ignore it (as we currently do). That one incident seems to be an outlier, so we can simply pretend it didn't happen and display only the later version of the changes in the archives. This is what we do now. Alternatively, we would somehow have to rework the API to not assume the release date / effective date is a primary key for policy docs. That's more future proof, but also more work.

@lunakv lunakv added bug Something isn't working low priority Things to do when everything else is working labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Things to do when everything else is working
Projects
None yet
Development

No branches or pull requests

1 participant