mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Fix relative date time formatter
Thanks to @renchap
This commit is contained in:
parent
2b204bf9df
commit
099411b435
@ -17,7 +17,7 @@ extension Date {
|
||||
let formatter = RelativeDateTimeFormatter()
|
||||
formatter.locale = Locale.autoupdatingCurrent
|
||||
formatter.dateTimeStyle = .numeric
|
||||
formatter.unitsStyle = .abbreviated
|
||||
formatter.unitsStyle = .short
|
||||
return formatter
|
||||
}()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user