dosubot[bot] commented on issue #8416: URL: https://github.com/apache/incubator-devlake/issues/8416#issuecomment-2840928813
<!-- Answer --> The issue you're encountering with ZenTao's "long-term" planned dates causing parsing errors in Apache DevLake is due to the inability to parse non-standard date formats like "长\\u671f" (long-term) into the expected date format. Currently, Apache DevLake uses the `CSTTime` type for date parsing, which expects specific date formats <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/core/models/common/cst_time_test.go)</sup>. To address this issue, you would need to implement custom logic to handle non-standard date formats like "long-term". This could involve: 1. **Date Format Handling**: Modify the date parsing logic to recognize and appropriately handle non-standard date formats. This might involve mapping "long-term" to a specific date or handling it as a special case. 2. **Error Handling**: Enhance error handling mechanisms to gracefully manage parsing errors when encountering unexpected date formats. 3. **Testing**: Add tests to ensure that the new logic correctly handles these non-standard formats without causing errors. Since the current implementation does not support this directly, you might need to extend the existing date parsing functionality or introduce a new mechanism to handle such cases. If you're willing to submit a PR, you could start by exploring the `CSTTime` parsing logic and consider how to integrate handling for "long-term" dates. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9390d40a-27ff-4e02-b9cf-f47ef6dc98d7?feedback_type=other)</sup> -- 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: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org