Skip to content

fix: show real created_at in trusted account attached general account… - #6148

Merged
seungyeoneeee merged 1 commit into
cloudforet-io:haeafrom
seungyeoneeee:hotfix/trusted-account-date
Aug 3, 2026
Merged

fix: show real created_at in trusted account attached general account…#6148
seungyeoneeee merged 1 commit into
cloudforet-io:haeafrom
seungyeoneeee:hotfix/trusted-account-date

Conversation

@seungyeoneeee

Copy link
Copy Markdown
Contributor

… table (CLO-1344) (#6147)

  • fix: show real created_at in trusted account attached general account table (CLO-1344)

The Created column in the connected General Account list rendered dayjs(value.data), but the PDataTable format slot passes the created_at string directly as value. Accessing .data on a string yielded undefined, so dayjs(undefined) produced the current time for every row. Use dayjs(value) to format the actual created_at value.

  • refactor: use iso8601Formatter for attached general account Created column (CLO-1344)

Follow-up hardening from code review. This table can list PENDING accounts whose created_at may be absent; bare dayjs(value) would render 'Invalid Date' or, if undefined, silently reintroduce the current-time bug. iso8601Formatter null-guards (returns '') and uses the same 'YYYY-MM-DD HH:mm:ss' format, matching the sibling CollectorDetailAttachedServiceAccounts component.


Skip Review (optional)

  • Minor changes that don't affect the functionality (e.g. style, chore, ci, test, docs)
  • Previously reviewed in feature branch, further review is not mandatory
  • Self-merge allowed for solo developers or urgent changes

Description (optional)

Things to Talk About (optional)

… table (CLO-1344) (cloudforet-io#6147)

* fix: show real created_at in trusted account attached general account table (CLO-1344)

The Created column in the connected General Account list rendered
dayjs(value.data), but the PDataTable format slot passes the created_at
string directly as value. Accessing .data on a string yielded undefined,
so dayjs(undefined) produced the current time for every row.
Use dayjs(value) to format the actual created_at value.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: 이승연 <sylee1274@mz.co.kr>

* refactor: use iso8601Formatter for attached general account Created column (CLO-1344)

Follow-up hardening from code review. This table can list PENDING accounts
whose created_at may be absent; bare dayjs(value) would render 'Invalid Date'
or, if undefined, silently reintroduce the current-time bug. iso8601Formatter
null-guards (returns '') and uses the same 'YYYY-MM-DD HH:mm:ss' format,
matching the sibling CollectorDetailAttachedServiceAccounts component.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: 이승연 <sylee1274@mz.co.kr>

---------

Signed-off-by: 이승연 <sylee1274@mz.co.kr>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

@seungyeoneeee is attempting to deploy a commit to the cloudforet Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🎉 @skdud4659 has been randomly selected as the reviewer! Please review. 🙏

@github-actions
github-actions Bot requested a review from skdud4659 August 3, 2026 07:07
@seungyeoneeee
seungyeoneeee merged commit 3e13478 into cloudforet-io:haea Aug 3, 2026
2 of 3 checks passed
@seungyeoneeee
seungyeoneeee deleted the hotfix/trusted-account-date branch August 3, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant