mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix watched at string
This commit is contained in:
parent
ea6363ba65
commit
16a3a4728d
@ -41,10 +41,6 @@ extension Watch {
|
||||
return nil
|
||||
}
|
||||
|
||||
if watchedAt.timeIntervalSinceNow < 5 {
|
||||
return "just now"
|
||||
}
|
||||
|
||||
let formatter = RelativeDateTimeFormatter()
|
||||
formatter.unitsStyle = .full
|
||||
return formatter.localizedString(for: watchedAt, relativeTo: Date())
|
||||
|
Loading…
Reference in New Issue
Block a user