The online retail giant was found to be keeping detailed data on employee working patterns.