-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Allow to pass units to diff method #445
Allow to pass units to diff method #445
Conversation
Codecov Report
@@ Coverage Diff @@
## master #445 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 14 14
Lines 708 746 +38
Branches 76 79 +3
=========================================
+ Hits 708 746 +38
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix CI
sorry but i don't know how to fix such error |
import differenceInYears from "date-fns/differenceInYears"; | ||
import differenceInQuarters from "date-fns/differenceInQuarters"; | ||
import differenceInMonths from "date-fns/differenceInMonths"; | ||
import differenceInWeeks from "date-fns/differenceInWeeks"; | ||
import differenceInDays from "date-fns/differenceInDays"; | ||
import differenceInHours from "date-fns/differenceInHours"; | ||
import differenceInMinutes from "date-fns/differenceInMinutes"; | ||
import differenceInSeconds from "date-fns/differenceInSeconds"; | ||
import differenceInMilliseconds from "date-fns/differenceInMilliseconds"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these function should be imported from date-fns-jalali
I just fixed theme in #550
No description provided.