I think I might have figured it out. It looks like that polarity drawing assumes the pinout is left-to-right, with cathode being pin 1.