Add support for 12-hour / 24-hour style in Simulator (or get it from OS X)

Originator:felipekellermann
Number:rdar://15404478 Date Originated:06-Nov-2013 03:29 PM
Status:Closed Resolved:-
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
The user setting for 12-hour / 24-hour style in General / Date & Time has important changes in iOS code (NSDateFormatter), but developers can't change it using Simulator's Settings and the simulator doesn't change the style based on OS X hour style.

Steps to Reproduce:
1. Use a format like yyyy-MM-dd HH:mm:ss
2. Format it using 24-style / 12-style - notice the AM/PM.
This is expected: https://developer.apple.com/library/ios/qa/qa1480/_index.html
3. The problem is you need an actual device to test this.

Expected Results:
Simulator should get the 12-hour / 24-style hour style from OS X or have an option in Settings / General to change it.

Actual Results:
N/A

Version:


Notes:


Configuration:


Attachments:

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!