Photoperiod With Ambient Light?

I have a few nice plants. Photoperiod that I grew from some seeds someone gave me. They are beautiful. Very healthy.
However, they are getting light at night from an LED streetlight.
Will this prevent flowering?
They are in pots so they can be moved to an area that does not get light. But they will get less sunlight during the day.
Thanks in advance.

If they get enough extra light at night they could herm on you.