Add ghetto expiry fix

This commit is contained in:
Eliot Whalan 2016-06-25 08:53:34 +10:00
parent 576b83492a
commit 4740a10297
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
default:
expiryTime = now.Format("2006-01-02 15:04:05")
expiryTime = now.Add(time.Hour * 24 * 365 * 200).Format("2006-01-02 15:04:05")
break
}