Some of them don't mind that much, actually. There have even been experiments growing plants with 2 weeks of light followed by 2 weeks of darkness, as on the moon. It can work if the 2 weeks of darkness are also at lowered temperature, which is easy to achieve in the absence of sunlight.
The exotic species of plant used in the experiment? The pea.