Branch: Tag:

2012-09-09

2012-09-09 20:42:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar.Event.Solar: Fix previous().

1113:    if ((direction > 0) && (new_jd < jd)) {    [new_jd, offset] = solar_event(y + 1);    } else if ((direction < 0) && (new_jd >= jd)) { -  [int new_jd, offset] = solar_event(y - 1); +  [new_jd, offset] = solar_event(y - 1);    }       // Convert into an UTC timestamp.