逛rss订阅输出lastbuilddate修改为UTC格式
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -20,7 +20,7 @@ const index = (req, res, next) => { | @@ -20,7 +20,7 @@ const index = (req, res, next) => { | ||
20 | return rssModel.getRssArticle(gender).then((result) => { | 20 | return rssModel.getRssArticle(gender).then((result) => { |
21 | return res.render('rss/index', { | 21 | return res.render('rss/index', { |
22 | layout: false, | 22 | layout: false, |
23 | - time: '', | 23 | + time: (new Date()).toUTCString(), |
24 | items: result | 24 | items: result |
25 | }) | 25 | }) |
26 | }); | 26 | }); |
-
Please register or login to post a comment