A more usual English translation is 'It's a long spell of bad weather'
That is a very natural expression. Added. Thanks!
Why not: "It is a long period of bad times"?
No, bad times could be written: mauvais moments, mauvaises périodes, périodes difficiles, etc. "Mauvais temps" is about the weather.