Update main with lead day pathc

This commit is contained in:
Matthew Fisher 2024-09-18 17:08:17 -05:00
parent 5814eb5fc1
commit 926ca2ffaf

View File

@ -95,8 +95,8 @@ func currentTool() (tool,error) {
var currentweek int
//Calculate current week
currenttime := time.Now().Unix() - 345600
currentweek = int(currenttime/604800)
currenttime := int(time.Now().Unix()) - 345600
currentweek = currenttime/604800
fmt.Println(currentweek)
//Select current tool from database