Fix up expiry math

This commit is contained in:
Eliot Whalan 2016-06-25 08:56:25 +10:00
parent 4740a10297
commit cfc5dcf3eb
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }