Skip to content

Conversation

StephenBrown2
Copy link

Pull Request Check List

This adds next_anniversary to both Date and DateTime instances, returning the next anniversary for a given instance, properly accounting for leap years by taking advantage of the .add function rather than simply comparing the month and day of an instance.

  • Added tests for changed code.
  • Updated documentation for changed code.

@StephenBrown2
Copy link
Author

MacOS having a bad day, apparently... :-/

@StephenBrown2 StephenBrown2 force-pushed the add_next_anniversary branch from d37c667 to f453dc7 Compare June 1, 2020 14:35
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