Version
5.2.2
Link to Minimal Reproduction
https://codesandbox.io/s/echarts-time-bug-mxphv
Steps to Reproduce
Just look at the result logged in the console.
Current Behavior
console.log(echarts.time.format("2021-12-25T00:00:00Z", "yyyy-MM-dd", true) );
// yyyy-MM-dd
Expected Behavior
console.log(echarts.time.format("2021-12-25T00:00:00Z", "yyyy-MM-dd", true) );
// 2021-12-25
Environment
- OS: macOS Big Sur
- Browser: Chrome Version 96.0.4664.110 (Official Build) (x86_64)
- Framework: React@17.0.2
Any additional comments?
when I use echarts heatmap calendar examples: Simple Calendar
Version
5.2.2
Link to Minimal Reproduction
https://codesandbox.io/s/echarts-time-bug-mxphv
Steps to Reproduce
Just look at the result logged in the console.
Current Behavior
Expected Behavior
Environment
Any additional comments?
when I use echarts heatmap calendar examples: Simple Calendar