Imports name this capability’s declared dependencies, which fune builds next to it in your project; each one links to its page.
from .dates_add_days import epoch_day_from_iso ← from dates.add-days ^1.0.0 · built alongside by fune
def days_between(start_iso: str, end_iso: str) -> int:
"""Calendar days from one date to another: end minus start, negative when
the end is earlier. Both dates are parsed strictly, so an impossible date
fails rather than being rolled into the next month.
"""
return epoch_day_from_iso(end_iso) - epoch_day_from_iso(start_iso)