Skip to content

Commit

Permalink
Fix relative date time formatter
Browse files Browse the repository at this point in the history
Thanks to @renchap
  • Loading branch information
zeitschlag committed Apr 17, 2024
1 parent 2b204bf commit 099411b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MastodonSDK/Sources/MastodonUI/Extension/Date.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension Date {
let formatter = RelativeDateTimeFormatter()
formatter.locale = Locale.autoupdatingCurrent
formatter.dateTimeStyle = .numeric
formatter.unitsStyle = .abbreviated
formatter.unitsStyle = .short
return formatter
}()

Expand Down

0 comments on commit 099411b

Please sign in to comment.