Post

Replies

Boosts

Views

Activity

DateComponentFormatter behaviour inconsistency
I noticed the output when running the following on different mac dev machines. Anyone know more detail on this? let formatter = DateComponentsFormatter() formatter.allowedUnits = [.hour, .minute, .second] formatter.unitsStyle = .brief the output changed from 233hr 55min 35secs to 233hrs 55min 35secs on another machine, the output is 233hrs 55min. 35secs. Thanks in advance!
1
0
654
Nov ’23