export function render_markdown_timestamp(time: number | Date): {
    text: string;
    tooltip_content: string;
} {
    const hourformat = user_settings.twenty_four_hour_time ? "HH:mm" : "h:mm a";
    const timestring = format(time, "E, MMM d yyyy, " + hourformat);

    const tz_offset_str = get_tz_with_UTC_offset(time);
    const tooltip_html_content = render_markdown_time_tooltip({tz_offset_str});

    return {
        text: timestring,
        tooltip_content: tooltip_html_content,
    };
}
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.