Think about how the lower class in Germany and Austria in 18th and 19th century had to work a few days without pay to compensate for toilet time on-duty. These days were called 'Scheißtage' literally meaning shit-days and became a usual colloquial term for a bad day in general.
The Iron Code