fix: fixed typo in spelling in frappe.utils.date_diff import

This commit is contained in:
Fahid Latheef A
2025-01-07 21:07:23 +05:30
committed by GitHub
parent 9dcfc347d9
commit 0550d3aea3

View File

@@ -22,7 +22,7 @@ from frappe.utils import (
now,
add_days,
format_date,
days_diff,
date_diff,
)
from typing import Optional
from lms.lms.utils import get_average_rating, get_lesson_count
@@ -1169,5 +1169,5 @@ def prepare_heatmap_data(start_date, number_of_days, date_count):
def get_week_difference(start_date, current_date):
diff_in_days = days_diff(current_date, start_date)
diff_in_days = date_diff(current_date, start_date)
return diff_in_days // 7