fix onedayoff checks day after
cicd / ci (push) Failing after 15s
Details
cicd / ci (push) Failing after 15s
Details
parent
35e2e40ce6
commit
c948a32458
|
|
@ -273,7 +273,7 @@ func Main() {
|
|||
panic(err)
|
||||
}
|
||||
dayBefore := ts.Add(-24 * time.Hour).Format("2006-01-02")
|
||||
dayAfter := ts.Add(-24 * time.Hour).Format("2006-01-02")
|
||||
dayAfter := ts.Add(24 * time.Hour).Format("2006-01-02")
|
||||
if inDay(dayBefore, transaction) || inDay(dayAfter, transaction) {
|
||||
msg = "1dayoff"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue