chore(App IDs, My Apps): change to use DateComponentsFormatter.UnitsStyle.abbreviated

This commit is contained in:
junepark678
2023-11-25 15:33:49 +09:00
committed by nythepegasus
parent 65c9986103
commit a76aade4ff
2 changed files with 5 additions and 0 deletions

View File

@@ -336,6 +336,8 @@ private extension MyAppsViewController
formatter.includesTimeRemainingPhrase = false
formatter.allowedUnits = [.day, .hour, .minute]
formatter.unitsStyle = DateComponentsFormatter.UnitsStyle.abbreviated
formatter.maximumUnitCount = 1