Fix the date format
This commit is contained in:
parent
54763b04df
commit
d1d9970427
1 changed files with 1 additions and 1 deletions
2
news.go
2
news.go
|
@ -50,7 +50,7 @@ func getNews(num int, days int) []newsEntry {
|
|||
news := make([]newsEntry, len(dbnews))
|
||||
for i, n := range dbnews {
|
||||
news[i].Text = n.Text
|
||||
news[i].Date = n.Date.Format("Jan 31, 2006")
|
||||
news[i].Date = n.Date.Format("Jan 2, 2006")
|
||||
}
|
||||
return news
|
||||
}
|
||||
|
|
Reference in a new issue