We have the same expression in Dutch: "komkommertijd".
The Dutch Wikipedia mentions English, German or Jiddisch as possible sources: https://nl.wikipedia.org/wiki/Komkommertijd
The Dutch Wikipedia mentions English, German or Jiddisch as possible sources: https://nl.wikipedia.org/wiki/Komkommertijd