From b2dc0ce3378200eecda025d209ce47869af4a11a Mon Sep 17 00:00:00 2001 From: arolson101 Date: Tue, 13 Feb 2018 16:45:31 -0600 Subject: [PATCH] fix probable typo bug https://github.com/jakubroztocil/rrule/issues/135 --- lib/rrule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rrule.js b/lib/rrule.js index 3f039841..2f0278b4 100644 --- a/lib/rrule.js +++ b/lib/rrule.js @@ -996,7 +996,7 @@ gettimeset = gettimeset[freq] if ((freq >= RRule.HOURLY && plb(byhour) && !contains(byhour, hour)) || (freq >= RRule.MINUTELY && plb(byminute) && !contains(byminute, minute)) || - (freq >= RRule.SECONDLY && plb(bysecond) && !contains(bysecond, minute))) { + (freq >= RRule.SECONDLY && plb(bysecond) && !contains(bysecond, second))) { timeset = [] } else { timeset = gettimeset.call(ii, hour, minute, second, dtstartMillisecondModulo)