The story
First known use, by meaning
- From 14th c. A warm cloth cap worn while sleeping, often with pajamas, being common attire in northern Europe before effective home heating became widespread.
- From 1818. A beverage drunk before bed that is usually alcoholic.
- From 1939. The final match of a sporting contest, especially the second game of a baseball doubleheader.
Etymology from Wiktionary, CC BY-SA 4.0.