edited the printout to stdout
This commit is contained in:
parent
bb27625099
commit
8822b1ef36
@ -25,7 +25,7 @@ year = "{:02d}".format(d.entries[0].published_parsed[0])
|
||||
month = "{:02d}".format(d.entries[0].published_parsed[1])
|
||||
day = "{:02d}".format(d.entries[0].published_parsed[2] + 1)
|
||||
|
||||
print(year, month, day)
|
||||
print('LATEST POST IN RSS:', year, month, day)
|
||||
|
||||
# -------------------------------------
|
||||
# WHAT DATE IS IT TODAY?
|
||||
@ -35,7 +35,7 @@ today_year = "{:02d}".format(int(today[0]))
|
||||
today_month = "{:02d}".format(int(today[1]))
|
||||
today_day = "{:02d}".format(int(today[2]))
|
||||
|
||||
print(today_year, today_month, today_day)
|
||||
print('TODAY: ', today_year, today_month, today_day)
|
||||
|
||||
# -------------------------------------
|
||||
# IF ENTRY IS PUBLISHED TODAY
|
||||
|
Loading…
Reference in New Issue
Block a user