We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description 在文件FormatData_zh.java 中 TimePatterns 下面的 时间风格 不一致, medium 模式采用了24小时样式, 而其他的 full, long, short 都采用了12小时样式. 如下: { "TimePatterns", new String[] { "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern "H:mm:ss", // medium time pattern "ah:mm", // short time pattern } }, 通过查看其他 中文语言的的 台湾/ 香港 / 新加坡 发现他们的都是 用 ah / ahh 来表示的. 不知道你们怎么看待这个问题?
其实这个时间格式 官方的 书面的 更多是选择24小时制的, 口语更偏向12小时制的. 也希望能把这个默认的 格式统一切换到24小时制.(其他国家, 例如日本 这里默认就是24小时制的) 切换24小时制 不可取的话,至少把 medium 格式也能统一 为 ahh.
The text was updated successfully, but these errors were encountered:
这一点上Dragonwell应该是和上游OpenJDK发行版保持一致的 (可以验证下),这类改动应该尽量推动到OpenJDK上游,在下游做修改很容易造成兼容性问题。 Dragonwell的目标应该只是提供额外的增强特性,而不是改变现有行为(我说的有问题的话,阿里的各位道友可以纠正我哈)。
关于改法,我个人认为有两个点可能需要关注:
Sorry, something went wrong.
No branches or pull requests
Description
在文件FormatData_zh.java 中
TimePatterns 下面的 时间风格 不一致, medium 模式采用了24小时样式, 而其他的 full, long, short 都采用了12小时样式.
如下:
{ "TimePatterns",
new String[] {
"ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
"ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
"H:mm:ss", // medium time pattern
"ah:mm", // short time pattern
}
},
通过查看其他 中文语言的的 台湾/ 香港 / 新加坡 发现他们的都是 用 ah / ahh 来表示的.
不知道你们怎么看待这个问题?
其实这个时间格式 官方的 书面的 更多是选择24小时制的, 口语更偏向12小时制的.
也希望能把这个默认的 格式统一切换到24小时制.(其他国家, 例如日本 这里默认就是24小时制的)
切换24小时制 不可取的话,至少把 medium 格式也能统一 为 ahh.
The text was updated successfully, but these errors were encountered: