When using the following code:
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"];
The output on iOS 15.4 is "2023-05-02T03:40:15.748Z", while the output on iOS 16.3.1 is "2023-05-02T上午3:41:19.606Z". This inconsistency in the output is causing issues with my app's functionality.
I would also like to add that it is important for the output to always maintain the 24-hour format. This consistency is crucial for my app's functionality, and any suggestions on how to ensure that the output always displays the time in 24-hour format would be greatly appreciated. Thank you.