diff --git a/CHDataManagement/Model/DateItem.swift b/CHDataManagement/Model/DateItem.swift index e04c0f6..d4f584d 100644 --- a/CHDataManagement/Model/DateItem.swift +++ b/CHDataManagement/Model/DateItem.swift @@ -14,7 +14,7 @@ extension DateItem { private func datePrefixString(in language: ContentLanguage) -> String { guard Calendar.current.isDate(startDate, equalTo: endDate, toGranularity: .year) else { // Different year, return full string - return startDate.formatted(date: .long, time: .omitted) + return DateItemStorage.dateString(for: startDate, in: language) } guard Calendar.current.isDate(startDate, equalTo: endDate, toGranularity: .month) else { // Different month