protected override MarkdownNode VisitUnixTimestamp(UnixTimestampNode timestamp)
    {
        _buffer.Append(
            timestamp.Date is not null
                ? _context.FormatDate(timestamp.Date.Value)
                : "Invalid date"
            );

        return(base.VisitUnixTimestamp(timestamp));
    }
    protected override MarkdownNode VisitUnixTimestamp(UnixTimestampNode timestamp)
    {
        var dateString = timestamp.Date is not null
            ? _context.FormatDate(timestamp.Date.Value)
            : "Invalid date";

        // Timestamp tooltips always use full date regardless of the configured format
        var longDateString = timestamp.Date is not null
            ? timestamp.Date.Value.ToLocalString("dddd, MMMM d, yyyy h:mm tt")
            : "Invalid date";

        _buffer
        .Append($"<span class=\"chatlog__markdown-timestamp\" title=\"{HtmlEncode(longDateString)}\">")
        .Append(HtmlEncode(dateString))
        .Append("</span>");

        return(base.VisitUnixTimestamp(timestamp));
    }