TFormatSettings.Create returns 格式不正确
TFormatSettings.Create returns incorrect formats
在执行 TFormatSettings.Create 时,我得到以下格式
ShortDateFormat: 'dd/MM/yyyy'
ShortTimeFormat: 'hh:mm'
但是根据各种 FormatDateTime 文档,月份应该是 "mm",分钟应该是 "nn"
这是一个 bug/locale 问题,还是这些真的使用了另一种不兼容的格式约定?
mm
的 documentation 强调:
Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
在执行 TFormatSettings.Create 时,我得到以下格式
ShortDateFormat: 'dd/MM/yyyy'
ShortTimeFormat: 'hh:mm'
但是根据各种 FormatDateTime 文档,月份应该是 "mm",分钟应该是 "nn"
这是一个 bug/locale 问题,还是这些真的使用了另一种不兼容的格式约定?
mm
的 documentation 强调:
Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.