You’re thinking of peperoncino, a spiced chilli pepper also known as sweet Italian peppers. We still have salami in the US.
I’d guess pepperoni is called that because it’s dried salami with pepper seasoning.
I found a link just randomly googling. https://www.thoughtco.com/you-say-pepperoni-3972377
YYYYMMDDHHMMSS is the only acceptable format.