FearfulTomcat27 opened a new pull request, #14686:
URL: https://github.com/apache/iotdb/pull/14686

   This pull request includes updates to the `IoTDBFormatFunctionTableIT` test 
class to improve date and time formatting in test cases. The changes primarily 
involve importing necessary utilities and updating test assertions to use 
dynamic date and time values.
   
   Key changes include:
   
   ### Imports and Dependencies:
   * Added imports for `DateTimeUtils`, `LocalDate`, `ZoneId`, and `format` to 
support new date and time formatting functionality. 
[[1]](diffhunk://#diff-81d6991cc3a2bfadf2a2b018b43dd2101d495ebed67050183b355ce578d14a55R17)
 
[[2]](diffhunk://#diff-81d6991cc3a2bfadf2a2b018b43dd2101d495ebed67050183b355ce578d14a55L25-R46)
   
   ### Test Enhancements:
   * Removed the `@Ignore` annotation to enable the test class for execution.
   * Added a `ZoneId` constant to specify the time zone for formatting.
   * Updated the `testTimestampFormat` method to use 
`DateTimeUtils.convertToZonedDateTime` for dynamic timestamp formatting in 
assertions.
   * Updated the `testDateFormat` method to use `LocalDate` for dynamic date 
formatting in assertions.


-- 
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]

Reply via email to