Skip to content

Hotfix for the twilight restriction

Eric Dejouhanet requested to merge edejouhanet/kstars:bugfix__twilight2 into master

A number of issues were spotted by @murveit after pushing the first fix to the twilight restriction.

This MR:

  • Fixes the early dawn test, not properly considering dawn and dusk are in the future.
  • Fixes a sign typo on a pre-dawn calculation.
  • Fixes the night time for today not appearing when no job is selected in the table.
  • Restores pre-dawn inclusion when deciding whether a SchedulerJob runs during night time or not.
  • Makes all local times of Scheduler use the test-configured or SimClock local time.

Merge request reports

Loading