Fix rounding of sun position events less than 30s before the next hour
The previous approach of just adding another minute would result in an invalid QTime within the last 30 seconds of an hour.
This fixes the sun not rising here tomorrow ;)
The previous approach of just adding another minute would result in an invalid QTime within the last 30 seconds of an hour.
This fixes the sun not rising here tomorrow ;)