rss: lobsters suggestions, link in footer

Signed-off-by: Naman Sood <naman.sood@data.world>
This commit is contained in:
Naman Sood 2022-06-28 11:09:33 -05:00
parent 323fe7010f
commit 47638c8662
6 changed files with 39 additions and 22 deletions

View file

@ -253,7 +253,7 @@ func (s *server) loadStylesheet(res http.ResponseWriter, req *http.Request, file
}
func rssDatetime(timestamp int64) string {
return time.Unix(timestamp, 0).Format("Mon, 02 Jan 06 15:04:05 MST")
return time.Unix(timestamp, 0).Format("Mon, 02 Jan 2006 15:04:05 MST")
}
func createImage(title, summary, url string, out io.Writer) error {