Skip to content

Add $anchorDay parameter and float support for plus() and minus() - #126

Merged
kylekatarnls merged 1 commit into
masterfrom
feature/plus-minus-improvement
Jun 14, 2026
Merged

kylekatarnls merged 1 commit into
masterfrom
feature/plus-minus-improvement

Conversation

@kylekatarnls

@kylekatarnls kylekatarnls commented Jun 14, 2026 •

Copy link
Copy Markdown
Contributor

Improve plus() and minus() method

  • Add $anchorDay parameter and OverflowMode for $overflow parameter
  • Add float support for $weeks, $days, $hours, $minutes, $seconds and $microseconds
  • Use __call so sub-classes are allowed to override those methods with divergent signatures

@kylekatarnls kylekatarnls added this to the 3.12.3 milestone Jun 14, 2026
@kylekatarnls
kylekatarnls merged commit 6e7853a into master Jun 14, 2026
46 of 47 checks passed
@kylekatarnls
kylekatarnls deleted the feature/plus-minus-improvement branch June 14, 2026 20:41
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.

1 participant