ecoyoung opened a new pull request, #21755: URL: https://github.com/apache/echarts/pull/21755
## Brief Information Prepared with Codex and approved for submission by @ecoyoung. - [ ] bug fixing - [x] new feature - [ ] others ### What does this PR do? Parse `YYYY-Www` as Monday of the ISO week at local midnight, matching existing date inputs without a timezone. ### Fixed issues Closes #21578. ## Details ### Before: What was the problem? Values such as `2026-W04` produce invalid dates on a time axis. ### After: How does it behave after the fixing? `2026-W04` resolves to January 19, 2026. Cross-year weeks are supported; invalid week numbers, including week 53 in a 52-week year, are rejected. This adds no dependency and does not add week-day/time parsing or week-label formatting. ## Document Info - [ ] This PR doesn't relate to document changes - [x] The document should be updated later - [ ] The document changes have been made in apache/echarts-doc#xxx Parser JSDoc is updated. User-facing docs can follow agreement on the format. ## Misc ### Security Checking - [ ] This PR uses security-sensitive Web APIs. ### ZRender Changes - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs 198 unit tests pass, including parsing and dataZoom coverage. The affected suites also pass in New York and Berlin timezones. Typecheck, lint, and header checks pass. ### Merging options - [x] Please squash the commits into a single one when merging. ### Other information The new parsing tests fail before this change. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
