mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
format the date
This commit is contained in:
@@ -90,7 +90,7 @@ func (e *Rss) fetch(f *pb.Feed) error {
|
||||
Feed: f.Url,
|
||||
Link: item.Link,
|
||||
Content: content,
|
||||
Date: item.Date.Unix(),
|
||||
Date: item.Date.Format(time.RFC3339Nano),
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error saving item: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user