UNPKG
@ipohjs/calendar
Version:
latest (0.1.0-rc.8)
rc (0.1.0-rc.0)
0.1.0-rc.8
0.1.0-rc.7
0.1.0-rc.6
0.1.0-rc.5
0.1.0-rc.4
0.1.0-rc.3
0.1.0-rc.2
0.1.0-rc.1
0.1.0-rc.0
Minimal module to compute a calendar
github.com/ipohjs/webmod/packages/calendar
ipohjs/webmod
@ipohjs/calendar
/
dist
/
helpers
/
to-day-difference-inclusive.js
4 lines
•
160 B
JavaScript
View Raw
1
2
3
4
export
function
toDayDifferenceInclusive
(
min
,
max
)
{
return
1
+
Math.floor
(
(
+
max
-
+
min
)
/
864e5
)
;
}
/
/
# sourceMappingURL=to-day-difference-inclusive.js.map