Skip to content

Add turn fields to schedule PNC appointments#684

Merged
erikh360 merged 1 commit intodevelopfrom
update-migration-script
Mar 9, 2026
Merged

Add turn fields to schedule PNC appointments#684
erikh360 merged 1 commit intodevelopfrom
update-migration-script

Conversation

@erikh360
Copy link
Contributor

@erikh360 erikh360 commented Mar 9, 2026

No description provided.

if unit == "W":
due_date = birth_date + timedelta(weeks=value)
else:
due_date = _add_months(birth_date, value)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the dateutil library can deal with this well, but happy for us to implement this as well to avoid the dependency.

@erikh360 erikh360 merged commit b68be87 into develop Mar 9, 2026
2 checks passed
@erikh360 erikh360 deleted the update-migration-script branch March 9, 2026 09:55
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