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
1 changed files with 1 additions and 1 deletions

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
}()