Skip to content

Commit

Permalink
Fix interval end setting for multi-day updates (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Dec 22, 2022
1 parent 07d7b3b commit 0d7602f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/apps/ConvertUpdates.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private static Pair<String, String> getUpdates(String startOfUpdates, String end
if (i == intervals - 2)
end = givenEndOrToday;
else
end = addDays(end, givenEndOrToday,
end = addDays(start, givenEndOrToday,
intervalSize - 1 /* 'until' is inclusive */);
}
try (FileWriter writer = new FileWriter(file, true)) {
Expand Down

0 comments on commit 0d7602f

Please sign in to comment.