RockteMQ-AI commented on issue #4234: URL: https://github.com/apache/rocketmq-dashboard/issues/4234#issuecomment-5635676867
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a legitimate timezone handling bug. The issue clearly demonstrates that: 1. **Root Cause**: Backend writes UTC `LocalDateTime` without offset information, frontend `new Date(value).toLocaleString()` interprets offset-less strings as browser-local time, causing incorrect display for non-UTC viewers. 2. **Evidence Quality**: Excellent — specific code paths identified (`AuthService.now()`, `StudioUserVO`, `UserManagement.tsx`), reproduction steps provided, and related fixes (#4174, #4221, #4222) confirm this is a known defect class. 3. **Impact**: All non-UTC users see incorrect session activity, password change, and account creation times in the user management page and CSV exports. 4. **Fix**: Straightforward — use the existing `formatUtcDateTime` helper from `web/src/utils/format.ts` (already adopted by alert and query-history pages). **Severity**: Medium — affects usability and data accuracy for non-UTC users, but no data loss or security impact. An automated fix proposal can be generated. Reply with: - `/approve` — proceed with PR generation - `/revise` — request spec revision - `/reject` — decline automated fix --- *Automated evaluation by RockteMQ-AI* -- 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]
