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

Added diff method #173

Merged
merged 2 commits into from
May 9, 2024
Merged

Added diff method #173

merged 2 commits into from
May 9, 2024

Conversation

omidfarahani
Copy link

  • Added diff method which will return difference between any given dates in an array containing days, months and days.
    • It should be noted that Carbon diff functions calculate date differences based on Gregorian calendar months and are not suitable for Jalali dates.
  • new method is accompanied by corresponding test method

@morilog morilog merged commit 937efba into morilog:master May 9, 2024
8 checks passed
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