Skip to content
Snippets Groups Projects
Commit c84f4b2c authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Calendar.Event.Solar: Fix previous().

parent cb9d9b4b
No related branches found
No related tags found
No related merge requests found
...@@ -1113,7 +1113,7 @@ class Solar(int|void event_type) ...@@ -1113,7 +1113,7 @@ class Solar(int|void event_type)
if ((direction > 0) && (new_jd < jd)) { if ((direction > 0) && (new_jd < jd)) {
[new_jd, offset] = solar_event(y + 1); [new_jd, offset] = solar_event(y + 1);
} else if ((direction < 0) && (new_jd >= jd)) { } 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. // Convert into an UTC timestamp.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment