yuluo-yx opened a new pull request, #4460:
URL: https://github.com/apache/rocketmq-dashboard/pull/4460

   ### Which Issue(s) This PR Fixes
   
   - Fixes #4459
   
   ### Brief Description
   
   Normalize delay formatting so decimal or millisecond-derived inputs render 
as whole-second duration labels. This keeps delay/lag UI labels stable and 
avoids fractional seconds leaking into compact operator-facing text.
   
   ### How Did You Test This Change?
   
   - `cd web && npm test -- --run src/utils/format.test.ts`
     - Test Files: 1 passed
     - Tests: 9 passed
   
   ### Checklist
   
   - [x] One coherent change; unrelated modifications are not bundled in
   - [x] Commit subject follows Conventional Commits (`feat:` / `fix:` / 
`refactor:` / `chore:` / `docs:` / `perf:`)
   - [x] Tests added or updated for non-trivial changes, test methods named 
`...Test`
   - [x] New UI text has both Chinese and English entries under `web/src/i18n/`
   - [x] Architecture constraints stay green (`mvn test` runs the ArchUnit 
checks)
   - [x] New source files carry the ASF license header
   - [x] Documentation touched where behaviour changed (README / `docs/` / 
in-app help)
   
   Notes: no UI text, new source files, backend architecture, or documentation 
changes are involved in this formatter-only fix.


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