100pah opened a new pull request #13570:
URL: https://github.com/apache/incubator-echarts/pull/13570
<!-- Please fill in the following information to help us review your PR more
efficiently. -->
## Brief Information
This pull request is in the type of:
- [x] bug fixing
- [ ] new feature
- [ ] others
<br>
<br>
+ tooltip should support useUTC by default.
+ Make the param useUTC/isUTC mandatory rather than optional, which enables
to check where useUTC is omitted. Theoretically, the result without useUTC can
not substitute the result with useUTC.
+ Change the order of the param isUTC and lang of time.format because isUTC
is used more.
+ Comment incorrect implementation of `tooltip.formatter: pattern` on time
axis temporarily. Because it should ensure:
+ `useUTC` is not forgotten to be set as `true` or `false`. The result
based on useUTC are totally different, which should not be omitted.
+ Should not break the original funtion: tooltip.formatter: '{a0} {a1}'
+ Consider `series.encode: {x: 2}`, that is, `param.data[2]` is time
axis value.
Test case: test/timeZome.html
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]