Update main.go
This commit is contained in:
parent
926ca2ffaf
commit
5628416636
2
main.go
2
main.go
@ -95,7 +95,7 @@ func currentTool() (tool,error) {
|
|||||||
var currentweek int
|
var currentweek int
|
||||||
|
|
||||||
//Calculate current week
|
//Calculate current week
|
||||||
currenttime := int(time.Now().Unix()) - 345600
|
currenttime := int(time.Now().Unix()) + 259200
|
||||||
currentweek = currenttime/604800
|
currentweek = currenttime/604800
|
||||||
fmt.Println(currentweek)
|
fmt.Println(currentweek)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user