This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-14470 in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 5dd575b13351b4fd7464d11ce79a88250000c517 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