This is both a question and an answer so that the next time I encounter this bug and Google for an answer, I'll find it here.
The output of
Intl.DateTimeFormat('en-US', {
year: 'numeric',
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
})
Is like 3/7/2020 6:43:00 AM
in IE11. It looks like this regex (please do not judge my regex skills):
/:[0-9]{2}:[0-9]{2}/g
Should match the :43:00
portion, and it does in other browsers. But it does not in IE11. What gives?