NSDateComponentsFormatter bug for single-unit positional-style
| Originator: | an00na | ||
| Number: | rdar://20778604 | Date Originated: | 01-May-2015 11:12 AM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.3 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: If unitsStyle is .Positional and .allowedUnits is .CalendarUnitSecond or .CalendarUnitMinute, stringFromTimeInterval returns incorrect results. This bug only exists on iOS. If you change the playground platform to OS X and reopen the playground, you’ll see the correct results. Sample code: http://cl.ly/3G3I2z3Y1f0K
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!