Fix typo to publish lwn
This commit is contained in:
parent
a56522695c
commit
378210b5eb
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ impl Source for LWN {
|
|||
let date: &str = row.get("release_date");
|
||||
if let Ok(date) = NaiveDateTime::parse_from_str(date, "%Y-%m-%d %H:%M:%S") {
|
||||
if Local.from_local_datetime(&date).unwrap() < Local::now() {
|
||||
let link: String = row.get("title");
|
||||
let link: String = row.get("link");
|
||||
let guid = rss::GuidBuilder::default()
|
||||
.value(link.clone())
|
||||
.permalink(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue