Skip to content

Commit

Permalink
Fix issue #301
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtop committed Apr 21, 2021
1 parent dfdc84a commit 421ee37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Timeline/CurrentTimeIndicator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ import UIKit

private func updateDate() {
dateFormatter.dateFormat = is24hClock ? "HH:mm" : "h:mm a"
dateFormatter.calendar = calendar
dateFormatter.timeZone = calendar.timeZone
timeLabel.text = dateFormatter.string(from: date)
timeLabel.sizeToFit()
setNeedsLayout()
Expand Down

0 comments on commit 421ee37

Please sign in to comment.