Skip to content

Commit 279a905

Browse files
Copilotruibaby
andcommitted
Fix reply time inconsistency by using spec.creationTime
Co-authored-by: ruibaby <21301288+ruibaby@users.noreply.github.com>
1 parent 12a41fd commit 279a905

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/comment-widget/src/reply-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class ReplyItem extends LitElement {
119119
.userAvatar="${handleReplyAvatar(this.reply)}"
120120
.userDisplayName="${this.reply?.owner.displayName}"
121121
.content="${this.reply?.spec.content || ''}"
122-
.creationTime="${this.reply?.metadata.creationTimestamp ?? undefined}"
122+
.creationTime="${this.reply?.spec.creationTime}"
123123
.approved=${this.reply?.spec.approved}
124124
.breath=${this.isQuoteReplyHovered}
125125
.userWebsite=${this.reply?.spec.owner.annotations?.website}

0 commit comments

Comments
 (0)