I don’t think it matters. Aa long as you were employed during that time. They just want to see you were actually employed or not.
If you’re curious then you can create a table in word and mention your work timeline. For the missing weeks you can just say unpaid Sick leave or so.