[ephemeris] isBankHoliday(offset, filename) now really uses the filename (#1375)

Closes: #1374

Signed-off-by: Roland Rosenfeld <roland@debian.org>
pull/1378/head
Roland Rosenfeld 2020-02-24 13:06:08 +01:00 committed by GitHub
parent 1cb17e1a7d
commit 730a8e1e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class Ephemeris {
@ActionDoc(text = "checks if today plus or minus a given offset is bank holiday from a given userfile")
public static boolean isBankHoliday(int offset, String filename) {
return isBankHoliday(ZonedDateTime.now().plusDays(offset));
return isBankHoliday(ZonedDateTime.now().plusDays(offset), filename);
}
@ActionDoc(text = "checks a given day is bank holiday from a given userfile")