yyqdbngt opened a new pull request, #3281:
URL: https://github.com/apache/rocketmq-dashboard/pull/3281

   ## Summary
   
   Adds `AliyunConvertersTimeTest`, first tests for the Aliyun converter time 
helpers (`parseTimeMillis`, `formatTimeMillis`, `parseDateTime`), which the 
existing converter test files do not exercise.
   
   Coverage:
   - parsing `yyyy-MM-dd HH:mm:ss` local times into epoch millis in the Aliyun 
console time zone (Asia/Shanghai);
   - formatting epoch millis back into that local representation (including the 
epoch instant `1970-01-01 08:00:00`);
   - whole-second round trips through the time zone;
   - blank, null, and malformed inputs degrade to zero epoch millis / null 
date-times instead of throwing.
   
   ## Why
   
   Every Aliyun message/instance timestamp crosses these helpers, so time-zone 
and malformed-input semantics shape exported/displayed times.
   
   ## Testing
   
   `mvn -B test -Dtest=AliyunConvertersTimeTest` — 4/4 pass; checkstyle 
(validate) clean.


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