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 0456847 fix(tooltip): fix time axis formatter #14470 0456847 is described below commit 04568470e4cadddcf939c7daf1e472e613550eba Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Mon Mar 15 14:11:27 2021 +0800 fix(tooltip): fix time axis formatter #14470 --- 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 53d94cb..c495020 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