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

Add number of months instead of weeks if they exceed a certain amount #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebastianmueller
Copy link

  • default is 2 months as until that a timespan in weeks is sufficient (totally based on my personal gut feeling)
  • calculates with a rough average of 365 / 12 = 30.42 days per month

* default is 2 months as until that a timespan in weeks is sufficient (totally based on my personal gut feeling)
* calculates with a rough average of 365 / 12 = 30.42 days per month
@Silfalion
Copy link

We could use DateUtils.monthDelta + the printDuration of the difference between the endDate and the beginning of the month

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.

None yet

2 participants