Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vpeschenkov committed May 21, 2019
1 parent d0fd52b commit 17a6b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PredatorCore/PredatorClock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final public class PredatorClock {
// Time
let date = Date()
let calendar = Calendar.current
var hours = calendar.component(.second, from: date)
var hours = calendar.component(.hour, from: date)
let minutes = calendar.component(.minute, from: date)
// Converts time to 12-hour clock format
if configuration.isTwelveFourClock {
Expand Down

0 comments on commit 17a6b29

Please sign in to comment.