restore nextTopic.js to normal operation

This commit is contained in:
neri 2022-06-07 20:48:11 +02:00
parent 25056cfcf9
commit 6d8f26bfee
1 changed files with 0 additions and 3 deletions

View File

@ -23,9 +23,6 @@ function getNextTopicDate() {
// first thursday and third tuesday in month // first thursday and third tuesday in month
const nextTopic = zeroizeTime(today) const nextTopic = zeroizeTime(today)
nextTopic.setMonth(5)
nextTopic.setDate(1)
// first thursday // first thursday
if (calculatePriorWeekdays(nextTopic, THURSDAY) === 0) { if (calculatePriorWeekdays(nextTopic, THURSDAY) === 0) {
addDays(nextTopic, getDaysUntilNext(THURSDAY, nextTopic)) addDays(nextTopic, getDaysUntilNext(THURSDAY, nextTopic))