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

Document date arithmetic errors with ceiling dates #646

Merged
merged 2 commits into from
Mar 14, 2022
Merged

Conversation

rebkwok
Copy link
Contributor

@rebkwok rebkwok commented Mar 14, 2022

Document potential errors that can occur when using date arithmetic without filtering out ceiling dates (i.e. null values represented as 9999-12-31. See also opensafely-core/cohort-extractor#751

Also moved the date arithmentic docs to their own section as the current layout may imply they apply specifically to index dates

@render
Copy link

render bot commented Mar 14, 2022

Copy link
Member

@iaindillingham iaindillingham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of nitpicks. But ✅

docs/study-def-dates.md Outdated Show resolved Hide resolved
docs/study-def-dates.md Outdated Show resolved Hide resolved
Co-authored-by: Iain Dillingham <iaindillingham@users.noreply.github.com>
@rebkwok
Copy link
Contributor Author

rebkwok commented Mar 14, 2022

Couple of nitpicks. But white_check_mark

Nitpicks are in the bit of docs that I just moved and didn't re-read 🙂 but happy to include

@rebkwok rebkwok merged commit 0c7c69f into main Mar 14, 2022
@rebkwok rebkwok deleted the date-arithmetic branch March 14, 2022 13:24
@iaindillingham
Copy link
Member

Gotcha, sorry, I should have noticed that. Thank you 🙂

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

Successfully merging this pull request may close these issues.

2 participants