The workers were laid off for three weeks.

Literal

Worker [topic-は] three-weeks temporarily-fired-were.

一時解雇される ('to be temporarily laid off') uses 一時 ('temporary') + 解雇 ('dismissal'). The passive marks the workers as recipients of the action.