Fix up expiry math
This commit is contained in:
parent
d3083a96dc
commit
5603204373
2
main.go
2
main.go
|
@ -135,7 +135,7 @@ func save(raw string, lang string, title string, expiry string) []string {
|
||||||
break
|
break
|
||||||
|
|
||||||
default:
|
default:
|
||||||
expiryTime = now.Add(time.Hour * 24 * 365 * 200).Format("2006-01-02 15:04:05")
|
expiryTime = now.Add(((time.Hour * 24) * 365) * 200).Format("2006-01-02 15:04:05")
|
||||||
break
|
break
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue