restore nextTopic.js to normal operation
This commit is contained in:
parent
25056cfcf9
commit
6d8f26bfee
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue