2
2
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:
Nathan Mattes 2024-04-17 17:44:06 +02:00
parent 2b204bf9df
commit 099411b435

View File

@ -17,7 +17,7 @@ extension Date {
let formatter = RelativeDateTimeFormatter()
formatter.locale = Locale.autoupdatingCurrent
formatter.dateTimeStyle = .numeric
formatter.unitsStyle = .abbreviated
formatter.unitsStyle = .short
return formatter
}()