Fix watched at string

This commit is contained in:
Arkadiusz Fal 2022-01-05 17:08:29 +01:00
parent ea6363ba65
commit 16a3a4728d

View File

@ -41,10 +41,6 @@ extension Watch {
return nil return nil
} }
if watchedAt.timeIntervalSinceNow < 5 {
return "just now"
}
let formatter = RelativeDateTimeFormatter() let formatter = RelativeDateTimeFormatter()
formatter.unitsStyle = .full formatter.unitsStyle = .full
return formatter.localizedString(for: watchedAt, relativeTo: Date()) return formatter.localizedString(for: watchedAt, relativeTo: Date())