Fix up expiry math

This commit is contained in:
Eliot Whalan 2016-06-25 08:56:25 +10:00
parent d3083a96dc
commit 5603204373
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.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
}