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:
|
else:
|
||||||
content.append(result2.text.strip())
|
content.append(result2.text.strip())
|
||||||
if not result:
|
if not result:
|
||||||
if CLEANDATE or SWAPDATE:
|
if item.tag_content == "pubdate":
|
||||||
today = datetime.today().strftime('%Y-%M-%D')
|
today = datetime.today().strftime('%Y-%m-%d')
|
||||||
content.append(today)
|
content.append(today)
|
||||||
else:
|
else:
|
||||||
content.append("NOTFound")
|
content.append("NOTFound")
|
||||||
|
Loading…
Reference in New Issue
Block a user