Fritzbox2000 opened a new pull request, #17064: URL: https://github.com/apache/echarts/pull/17064
<!-- 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 ### What does this PR do? <!-- USE ONE SENTENCE TO DESCRIBE WHAT THIS PR DOES. --> Fixes padding on {yy} formatting to pad to 2 digits e.g. 1 to 01 ### Fixed issues <!-- - #17063: --> ## Details ### Before: What was the problem? <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. --> Echarts.time.format("2001-01-01 00:00:00", "{yy}") --> 1 Should have been 01 <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> ### After: How is it fixed in this PR? <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. --> Added padding to the output <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> ## Misc <!-- ADD RELATED ISSUE ID WHEN APPLICABLE --> - [ ] The API has been changed (apache/echarts-doc#xxx). - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs N.A. ## Others ### Merging options - [ ] Please squash the commits into a single one when merging. ### Other information -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org