mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 13:59:49 -04:00
Fix illegal date issues (e.g. year out of bounds)
This commit is contained in:
parent
eab8c2dccc
commit
28ac45ab03
@ -217,7 +217,7 @@ public class DateMatcher {
|
||||
}
|
||||
|
||||
public boolean acceptYear(int year) {
|
||||
return minYear < year && year < maxYear;
|
||||
return minYear <= year && year <= maxYear;
|
||||
}
|
||||
|
||||
public boolean acceptDate(int year, int month, int day) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user