This article isn't about office workers. It's about workers. Laborers are doing 8+ hour days, too, and they would not be equally productive in half the time. There's a reason it tends to pay by the hour.
Let's compare apples to apples. Office jobs didn't exist in the medieval period, but labor jobs still exist today.