mirror of
https://github.com/Jackett/Jackett
synced 2024-12-30 19:58:39 +00:00
torznab: fix time format for pubDate default
This commit is contained in:
parent
9c98465b21
commit
5a555427ee
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ namespace Jackett.Models
|
|||
new XElement("title", r.Title),
|
||||
new XElement("guid", r.Guid),
|
||||
r.Comments == null ? null : new XElement("comments", r.Comments.ToString()),
|
||||
r.PublishDate == DateTime.MinValue ? new XElement("pubDate", DateTime.Now) : new XElement("pubDate", xmlDateFormat(r.PublishDate)),
|
||||
r.PublishDate == DateTime.MinValue ? new XElement("pubDate", xmlDateFormat(DateTime.Now)) : new XElement("pubDate", xmlDateFormat(r.PublishDate)),
|
||||
r.Size == null ? null : new XElement("size", r.Size),
|
||||
r.Files == null ? null : new XElement("files", r.Files),
|
||||
r.Grabs == null ? null : new XElement("grabs", r.Grabs),
|
||||
|
|
Loading…
Reference in a new issue