Fix 24 hours
This commit is contained in:
@@ -87,7 +87,7 @@ extension String {
|
||||
let ss = Int(String(suffix(2))) else {
|
||||
return nil
|
||||
}
|
||||
guard hh >= 0, hh <= 12, mm >= 0, mm <= 59, ss >= 0, ss <= 59 else {
|
||||
guard hh >= 0, hh <= 24, mm >= 0, mm <= 59, ss >= 0, ss <= 59 else {
|
||||
return nil
|
||||
}
|
||||
return (hh, mm, ss)
|
||||
|
||||
Reference in New Issue
Block a user