Compare commits
2 Commits
25056cfcf9
...
7dcc8408c2
Author | SHA1 | Date |
---|---|---|
neri | 7dcc8408c2 | |
neri | 6d8f26bfee |
|
@ -0,0 +1,9 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- yarn install --frozen-lockfile
|
||||||
|
- yarn build --prod --prefix-paths
|
|
@ -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