diff options
-rw-r--r-- | post/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post/post.go b/post/post.go index 5634340..278b4df 100644 --- a/post/post.go +++ b/post/post.go @@ -153,7 +153,7 @@ func (p *Post) parse() { Mon Jan 2 15:04:05 MST 2006 */ p.Date = p.Time.Format("January 2, 2006") - p.RssDate = p.Time.Format("Mon, 2 Jan 2006 15:04:05 GMT") + p.RssDate = p.Time.Format(time.RFC822) p.InFuture = time.Now().Before(p.Time) p.Permalink = p.GenPermalink() |