Skip to content

Commit

Permalink
Merge pull request #380 from kvyatkovskys/feature/v_0.6.27
Browse files Browse the repository at this point in the history
fixed the issue `When Phone is in 12-hours mode events become 24hours long`
  • Loading branch information
kvyatkovskys authored Oct 16, 2024
2 parents e719340 + 5aef4c5 commit 8ccd5b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion KVKCalendar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KVKCalendar'
s.version = '0.6.26'
s.version = '0.6.27'
s.summary = 'A most fully customization calendar for Apple platforms.'

s.description = <<-DESC
Expand Down
4 changes: 1 addition & 3 deletions Sources/KVKCalendar/Timeline+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,7 @@ extension TimelineView {
time.textAlignment = style.timeline.timeAlignment
time.textColor = style.timeline.timeColor
time.text = txtHour
let hourTmp = TimeHourSystem.twentyFour.getHours(isEndOfDayZero: style.isEndOfDayZero)[idx]
let hour = timeLabelFormatter.date(from: hourTmp)?.kvkHour ?? 0
time.hashTime = hour
time.hashTime = idx
time.tag = idx - start
time.isHidden = !isDisplayedTimes

Expand Down

0 comments on commit 8ccd5b7

Please sign in to comment.