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 var currentweek int
//Calculate current week //Calculate current week
currenttime := time.Now().Unix() - 345600 currenttime := int(time.Now().Unix()) - 345600
currentweek = int(currenttime/604800) currentweek = currenttime/604800
fmt.Println(currentweek) fmt.Println(currentweek)
//Select current tool from database //Select current tool from database