Fixed Load LEO Sats for Date changes the date -1, loads sats for date +1

Fixed!

That's an embarrassing bug. It looks like it's been there for two weeks. I hope it has not caused too much confusion.

The root cause was using the global dateStart date object by reference when I should have used a copy. It was slightly more subtle as I was previously using the global dateNow object by reference, which was also wrong, but worked fine as it was dynamically updated from dateStart. But when I changed to dateStart, it started to cause problems. This old occurred for times more that 48 hours before the real time, so would not always happen
2025-11-25_02-03-41.jpg
 
Last edited:
World-writable members? That's asking for the mistake to happen again. Encapsulation is your friend (and one of the original features of object-oriented languages, it was the point of them, so whatever this lanuage is, it was a half-baked language design).
 
World-writable members? That's asking for the mistake to happen again. Encapsulation is your friend (and one of the original features of object-oriented languages, it was the point of them, so whatever this lanuage is, it was a half-baked language design).
It's Javascript, so yes.
 
Back
Top