106umao opened a new pull request, #10284: URL: https://github.com/apache/dolphinscheduler/pull/10284
<!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.--> ## Purpose of the pull request Fixed #10282 ## Brief change log Add static method `setTimeZone(TimeZone timeZone)` for class `org.apache.dolphinscheduler.common.utils.JSONUtils` The purpose of the method is to support dynamic modification of the TimeZone setting of the ObjectMapper object ## Verify this pull request <!--*(Please pick either of the following options)*--> This pull request is already covered by existing tests, such as *(please describe tests)*. method `org.apache.dolphinscheduler.common.utils.JSONUtilsTest#dateToString` method `org.apache.dolphinscheduler.common.utils.JSONUtilsTest#stringToDate` This change added tests and can be verified as follows: Run `mvn clean test` in terminal <!--*(example:)* - *Added dolphinscheduler-dao tests for end-to-end.* - *Added CronUtilsTest to verify the change.* - *Manually verified the change by testing locally.* --> -- 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]
