The answer depends on how the law measures darkness: by twilight, not by the clock or by the position of the sun. The hours of darkness are the period from the end of evening twilight to the beginning of morning twilight. During twilight the sun has already set or not yet risen, but the sky still gives light; it gets dark once twilight is over. So the boundary shifts with the seasons on its own, without a fixed schedule