This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/master by this push: new a5041f6 tooltip中time类型的字段默认使用的12小时制展示,容易产生困惑,改成24小时制展示 new ddc57f4 Merge pull request #16421 from Comee/master a5041f6 is described below commit a5041f6f3b829dd6de11b9f218c62f57688d9d5a Author: Comee <1490220...@qq.com> AuthorDate: Tue Jan 25 09:15:48 2022 +0800 tooltip中time类型的字段默认使用的12小时制展示,容易产生困惑,改成24小时制展示 --- src/util/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/format.ts b/src/util/format.ts index 372cf1a..883148c 100644 --- a/src/util/format.ts +++ b/src/util/format.ts @@ -82,7 +82,7 @@ export function makeValueReadable( valueType: DimensionType, useUTC: boolean ): string { - const USER_READABLE_DEFUALT_TIME_PATTERN = '{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}'; + const USER_READABLE_DEFUALT_TIME_PATTERN = '{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}'; function stringToUserReadable(str: string): string { return (str && zrUtil.trim(str)) ? str : '-'; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org