Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mkowalski87 committed Nov 3, 2022
1 parent 4990b07 commit 0f460cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KVKCalendar/MonthHeaderView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class MonthHeaderView: UICollectionReusableView {

dateLabel.font = style.month.fontTitleHeader
dateLabel.text = date.titleForLocale(style.locale, formatter: style.month.shortInDayMonthFormatter).capitalized
if Date().kvkMonth == date.kvkMonth {
if Date().kvkMonth == date.kvkMonth && Date().kvkYear == date.kvkYear {
dateLabel.textColor = style.month.colorTitleCurrentDate
} else {
dateLabel.textColor = style.month.colorTitleHeader
Expand Down

0 comments on commit 0f460cb

Please sign in to comment.