* BugFix : Wrong operator on stride variable causing incorrect behaviour ( #6749 )

This commit is contained in:
David Lublink 2018-11-01 18:51:42 -04:00
parent a47044fa08
commit a02b7ac155
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ bool LegacyTimePeriod::IsInTimeRange(tm *begin, tm *end, int stride, tm *referen
int daynumber = (tsref - tsbegin) / (24 * 60 * 60); int daynumber = (tsref - tsbegin) / (24 * 60 * 60);
if (stride > 1 && daynumber % stride == 0) if (stride > 1 && daynumber % stride > 0)
return false; return false;
return true; return true;