Most varieties of cannabis flower based upon photoperiod (light/dark periods), and will still generally change outdoors when the days get shorter and nights become longer. But some strains of Ruderalis (like Lowrider) will apparently flower as soon as they're mature enough to do so. Unless it is an auto-flowering strain, light (and the lack thereof) is what determines when the plant will flower.