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

   ### Which Issue(s) This PR Fixes
   
   - Fixes #(issue to be linked)
   
   ### Brief Description
   
   `RocketMQDLQProvider` built `lastEnqueueTime` as 
`LocalDateTime.ofInstant(..., ZoneId.systemDefault())`, so the REST payload 
carried a zoneless wall clock in the **server's** timezone. `new Date(...)` in 
the browser parses such a string as **browser-local** time, mislabelling the 
instant whenever the two timezones differ. Every other timestamp in the DLQ 
surface is epoch millis. The VO field is now a string holding 
`Instant.ofEpochMilli(...).toString()` (ISO-8601 with an explicit `Z`), which 
the browser parses as the correct instant; the TS type and mocks already 
expected that shape.
   
   ### How Did You Test This Change?
   
   ```
   cd server && mvn -B -ntp test 
-Dtest='DLQControllerTest,RocketMQDLQProviderTest,MessageQueryDlqToolHandlerTest'
   
   Tests run: 65, Failures: 0, Errors: 0, Skipped: 0
   BUILD SUCCESS
   ```
   


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