Skip to content

Commit

Permalink
add static let now DateComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
insub4067 committed Sep 7, 2024
1 parent 81663d5 commit 93b81ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/CalendarKit/Entity/DateComponent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down

0 comments on commit 93b81ca

Please sign in to comment.