Update main.go
This commit is contained in:
parent
bfee340790
commit
5814eb5fc1
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 := time.Now().Unix()
|
currenttime := time.Now().Unix() - 345600
|
||||||
currentweek = int(currenttime/604800)
|
currentweek = int(currenttime/604800)
|
||||||
fmt.Println(currentweek)
|
fmt.Println(currentweek)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user