123123213weqw opened a new pull request, #5231: URL: https://github.com/apache/rocketmq-dashboard/pull/5231
### Which Issue(s) This PR Fixes Fixes #5219 ### Brief Description The queue browser formatted store times with a hardcoded zh-CN locale in the browser zone and dropped the milliseconds, while the message page kept a second private formatter with local getters — the same message rendered three different strings, none zone-labeled. Both views now go through a shared `formatMessageTime`: epoch millis parsed (offset-less strings read as UTC per the `formatUtcDateTime` convention), rendered in the viewer's timezone with milliseconds kept and the zone labeled; dense columns and the trace timeline pass `zone: false`. ### How Did You Test This Change - `npx vitest run src/utils/format.test.ts src/components/__tests__/QueueBrowser.test.tsx` — new formatter cases plus a shape pin that reddens on a zh-CN revert. - `npx vitest run src/pages/instance/__tests__/` — 197/197 green. -- 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]
