cobaltpet / swl-tool

A ruby script for fetching, parsing, and displaying EiBi shortwave broadcast schedules
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Time filter doesn't behave correctly for broadcasts that wrap around 0000 UTC #31

Closed cobaltpet closed 7 years ago

cobaltpet commented 7 years ago

When a broadcast wraps around 0000 UTC, the time filter may not match it correctly. The filter computes the start and end of a broadcast as minutes offset from 0000 UTC, and doesn't expect for the end offset to be less than the start offset.

cobaltpet commented 7 years ago

Fix committed.