Skip to content

Commit

Permalink
Update tooltip markdown for timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Jan 21, 2025
1 parent 5da0b4d commit 045d405
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class EventHorizonRenderingService {
detail = this.toSubmissionScoredMarkdown(timelineEvent as EventHorizonSubmissionScoredEvent, challengeSpec);
break;
case "ticketOpenClose":
detail = this.toTicketOpenCloseMarkdown(timelineEvent as EventHorizonTicketOpenCloseEvent, challengeSpec);
detail = this.toTicketOpenCloseMarkdown(timelineEvent as EventHorizonTicketOpenCloseEvent);
}

let retVal = header;
Expand Down Expand Up @@ -139,7 +139,7 @@ export class EventHorizonRenderingService {
`.trim();
}

private toTicketOpenCloseMarkdown(timelineEvent: EventHorizonTicketOpenCloseEvent, challengeSpec: EventHorizonChallengeSpec) {
private toTicketOpenCloseMarkdown(timelineEvent: EventHorizonTicketOpenCloseEvent) {
let firstTicketText = `The team opened ticket **${timelineEvent.eventData.ticketKey}** here.`;
let closedInfo = timelineEvent.eventData.closedAt ? ` We fully closed it at ${timelineEvent.eventData.closedAt.toLocaleString(DateTime.DATETIME_MED)}.` : "";

Expand Down

0 comments on commit 045d405

Please sign in to comment.