fix typo in timeformat %M ->%m %D -> %d
This commit is contained in:
parent
ac8c7251e8
commit
e5185c2f25
@ -95,8 +95,8 @@ def finder(results,item,**modes):
|
||||
else:
|
||||
content.append(result2.text.strip())
|
||||
if not result:
|
||||
if CLEANDATE or SWAPDATE:
|
||||
today = datetime.today().strftime('%Y-%M-%D')
|
||||
if item.tag_content == "pubdate":
|
||||
today = datetime.today().strftime('%Y-%m-%d')
|
||||
content.append(today)
|
||||
else:
|
||||
content.append("NOTFound")
|
||||
|
Loading…
Reference in New Issue
Block a user