Do astronauts wear diapers?

When the news came out about the astronaut who wore diapers so she wouldn't have to stop driving my first question was, "yet she took the time to go buy diapers?"  After thinking about it, I decided that astronauts must wear diapers, so she was familiar with the idea and maybe even owned some.  Turns out that astronauts do wear diapers.

Because astronauts sit on the launch pad, strapped into their seats for
over three hours, they all have to wear diapers. Astronauts also wear
diapers when they are working in space during spacewalks which normally
last 5-8 hours.