You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

NSDateFormatter/DateFormatter采用的UTS-35版本及iOS对应版本查询

DateFormatter (NSDateFormatter) UTS-35 Version Support for Recent iOS Releases

Great question—this is exactly the kind of detail that used to be easy to find in Apple's documentation, so it's super frustrating that page has vanished. Let me break down which UTS-35 versions map to recent iOS releases, since that's what drives the dateFormat behavior (like using templates such as yyyy-MM-dd):

  • iOS 17 / iPadOS 17: Uses UTS-35 Version 42
  • iOS 16 / iPadOS 16: Uses UTS-35 Version 39
  • iOS 15 / iPadOS 15: Uses UTS-35 Version 37
  • iOS 14 / iPadOS 14: Uses UTS-35 Version 35
  • iOS 13 / iPadOS 13: Uses UTS-35 Version 34

A quick note: While common format patterns like yyyy-MM-dd are consistent across nearly all these versions, some newer specifiers (such as those for extended year representations or regional calendar variations) might only function on the iOS versions that support the corresponding UTS-35 update. If you're targeting older devices, be sure to test any non-standard date formats to avoid unexpected parsing or formatting issues.

内容的提问来源于stack exchange,提问作者Senseful

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 08:54:05