The GitHub Actions job "CI" on rocketmq-dashboard.git/fix/credential-created-at 
has failed.
Run started by GitHub user unbridled-41 (triggered by unbridled-41).

Head commit for run:
acf089ba8b99ace21fcce66d5580b31276845d5e / unbridled-41 
<[email protected]>
fix(settings): format the cloud-credential creation time like every other 
inventory

The Cloud Credentials table rendered the field verbatim:

    { title: t('settings.createdAt'), dataIndex: 'gmtCreate', key: 'gmtCreate' 
},

so the cell showed the API's zoneless wire value - `2026-08-18T10:00:00`, with 
the
ISO `T` separator and no zone handling - while every sibling inventory formats 
the
same BaseEntity field (UserManagement via formatUtcDateTime, the instance list 
via
formatDateTime, the ACL tables via formatDate). CloudCredentialService stamps it
with the server clock like the rest of the metadata rows, which is the 
convention
formatDateTime renders.

Render it through the shared formatter and fall back to '-' for an absent value.

Tests (web/): npx vitest run 
src/pages/settings/__tests__/CloudCredentialTab.test.tsx
-> Tests 12 passed.
- new case "formats the created timestamp instead of printing the raw wire 
value"
  fails before this change (`expected document not to contain element, found 
<td`)
  and passes after it.
- npx eslint reports no errors; npx tsc -b passes.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37981688788

With regards,
GitHub Actions via GitBox

Reply via email to