提交 04568470 编写于 作者: O Ovilia 提交者: Wenli Zhang

fix(tooltip): fix time axis formatter #14470

上级 773d87e4
......@@ -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 : '-';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册