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

   ## Summary
   - keep valid Unix epoch (`0`) queue message timestamps instead of rendering 
them as missing
   - reject non-finite numeric timestamps before constructing a `Date`
   - add regression coverage for epoch and malformed timestamp values
   
   ## Why
   The formatter used a falsy check, which conflated the valid epoch timestamp 
with unavailable data. It also allowed infinities to reach date formatting.
   
   ## Testing
   - `NODE_OPTIONS=--no-experimental-webstorage npm test -- 
src/components/__tests__/QueueBrowser.test.tsx`


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