Mercurial > public > lazybear
diff LazyBear/Global functions/ConvertEpoch.swift @ 457:c6913f0ce46e
Minor UI Updates
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 28 Jun 2021 14:03:50 +0200 |
parents | b560babcd5ed |
children |
line wrap: on
line diff
--- a/LazyBear/Global functions/ConvertEpoch.swift Mon Jun 28 12:51:06 2021 +0200 +++ b/LazyBear/Global functions/ConvertEpoch.swift Mon Jun 28 14:03:50 2021 +0200 @@ -10,7 +10,7 @@ /* Convert Epoch time (in miliseconds) to human readable date */ -func convertEpoch(_ miliseconds: Int, _ interval: Bool) -> String { +func convertEpoch(_ miliseconds: Int64, _ interval: Bool) -> String { let now = Date() // Current date // TimeInterval() function must be in seconds, not in miliseconds