The Federal Court ruled that in the manipulation of the time clock dismissal was justified. It pointed out that the manipulation of the time clock is a serious breach of duty of loyalty the employee. Since no circumstances were present in this case, which made the severity of the abusive nature relative, the dismissal was justified. Although the "surreptitious" working time was only a few hours away before completion, the federal court rated the loss of confidence higher than the damage caused.
Source: BGE 4A_395/2015 from 2.11.2015