It's illegal but when companies like Huawei are paying equivalence of 50k USD(x5 the average wage) minimum a year for programmers fresh out of university in China everyone is willing to work overtime voluntarily just to secure their position.
They work their ass off if there is demand.
The rep here doen't live in China.
Few issues have proven more divisive of late in Chinese technology circles than the pervasive culture of extreme overtime, known for years by the moniker “996.” The three digits describe a punishing schedule of 9 a.m. to 9 p.m., six days a week. That’s 72 hours a week, often with no extra pay...
www.bloomberg.com