You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2021/03/15 06:25:59 UTC

[echarts] branch fix-14470 created (now 5dd575b)

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch fix-14470
in repository https://gitbox.apache.org/repos/asf/echarts.git.


      at 5dd575b  fix(tooltip): fix time axis formatter #14470

This branch includes the following new commits:

     new 5dd575b  fix(tooltip): fix time axis formatter #14470

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[echarts] 01/01: fix(tooltip): fix time axis formatter #14470

Posted by ov...@apache.org.
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 <zw...@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-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org