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

   ## What is the purpose of the change
   
   Fix #2081.
   
   formatTimeMs(0) rendered the epoch (1970-01-01) for an unconsumed message 
because the backend serializes consumeTime as 0.
   
   ## Brief changelog
   
   - message.tsx: formatTimeMs returns '-' for zero or falsy values
   
   ## How was this patch verified
   
   - npx vitest run src/pages/instance/__tests__/MessagePage.test.tsx 
src/pages/instance/__tests__/MessagePageAsyncState.test.tsx (24 passed)
   - npx tsc -b clean
   - npx eslint . 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