Mercurial > public > lazybear
diff LazyBear/Global functions/ConvertEpoch.swift @ 448:f71761f166f2
Handle when data is empty
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 23 Jun 2021 11:47:14 +0200 |
parents | c804ce7a1560 |
children | b560babcd5ed |
line wrap: on
line diff
--- a/LazyBear/Global functions/ConvertEpoch.swift Wed Jun 23 10:54:47 2021 +0200 +++ b/LazyBear/Global functions/ConvertEpoch.swift Wed Jun 23 11:47:14 2021 +0200 @@ -17,7 +17,7 @@ let convertedDate = Date(timeIntervalSince1970: TimeInterval(miliseconds/1000)) let formatter = DateComponentsFormatter() - formatter.unitsStyle = .abbreviated + formatter.unitsStyle = .short let dateFormatter = DateFormatter() dateFormatter.dateStyle = .medium