mirror of
https://github.com/yattee/yattee.git
synced 2025-04-25 16:16:29 +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…
x
Reference in New Issue
Block a user