diff --git a/Sources/CalendarKit/Entity/DateComponent.swift b/Sources/CalendarKit/Entity/DateComponent.swift index 315e05b..cfacec6 100644 --- a/Sources/CalendarKit/Entity/DateComponent.swift +++ b/Sources/CalendarKit/Entity/DateComponent.swift @@ -93,7 +93,9 @@ extension DateComponent: Equatable { lhs.year == rhs.year && lhs.month == rhs.month && lhs.day == rhs.day - } + } + + public static let now = Date.now.mapToComponent }