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/07/30 02:35:24 UTC
[echarts] branch master updated: fix(xAxis): fix hour format at
millisecond unit. close #15426
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 753686c fix(xAxis): fix hour format at millisecond unit. close #15426
new 956347d Merge pull request #15434 from zhiyuc123/fixTimeLabelFormatter
753686c is described below
commit 753686ccac49b1daa93a3a743c5ec69d16f7c509
Author: zhiyu <zh...@outlok.com>
AuthorDate: Thu Jul 29 17:56:14 2021 +0800
fix(xAxis): fix hour format at millisecond unit. close #15426
---
src/util/time.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/time.ts b/src/util/time.ts
index d71a8da..09d7bab 100644
--- a/src/util/time.ts
+++ b/src/util/time.ts
@@ -37,8 +37,8 @@ export const defaultLeveledFormatter = {
hour: '{HH}:{mm}',
minute: '{HH}:{mm}',
second: '{HH}:{mm}:{ss}',
- millisecond: '{hh}:{mm}:{ss} {SSS}',
- none: '{yyyy}-{MM}-{dd} {hh}:{mm}:{ss} {SSS}'
+ millisecond: '{HH}:{mm}:{ss} {SSS}',
+ none: '{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}'
};
const fullDayFormatter = '{yyyy}-{MM}-{dd}';
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org