Isn't Before sunrise and after sunset the same? same applyes for After sunrise and Before sunset. What's the logic behind it?
View attachment 980
I guess the constraint logic is like that.
Before talking about the constraint, we need to think about sunset/sunrise time on the same day.
If today's sunrise is 6am and sunset time is 6pm, The sunset time should be passed around an hour ago in Czech. So before sunset constraint is false and after is true. On the same time, before sunrise is false and after is true.
Therefore, before sunrise and after sunset is different at this moment.
Around 5 hours later, passed 12am(0:00), before sunset will become true and after sunset changes to false as well. Before sunrise is true and after sunrise is false.
If I misunderstood it, give me the breakdown, Jamie. I would like to know the logic accurately.