[iOS/HybridGlobalization] No space between time and AM/PM designator #102250
Closed
Description
opened on May 15, 2024
Description
When using hybrid globalization on iOS and using the short time specifier, there is no space in front of the "AM" or "PM".
Reproduction Steps
var date = DateTime.Today + TimeSpan.FromHours(15) + TimeSpan.FromMinutes(15);
var culture = new CultureInfo("en-US");
System.Diagnostics.Debug.WriteLine(date.ToString("t", culture));
Expected behavior
3:15 PM
Actual behavior
3:15PM
Regression?
No response
Known Workarounds
No response
Configuration
macos 14.2.8053/8.0.100 SDK 8.0.200
ios 17.2.8053/8.0.100 SDK 8.0.200
iOS 17.2
Other information
The same problem happens when using the long time format specified ("T").
The space is present as expected when not using hybrid globalization
Activity