You've already forked wakapi-readme-stats
Merge pull request #247 from MarkenJaden/master
Added UTC time to "Last Updated on"
This commit is contained in:
6
main.py
6
main.py
@@ -505,9 +505,9 @@ def get_stats(github):
|
|||||||
stats = stats + ' \n\n'
|
stats = stats + ' \n\n'
|
||||||
|
|
||||||
if show_updated_date.lower() in truthy:
|
if show_updated_date.lower() in truthy:
|
||||||
today = date.today()
|
now = datetime.datetime.utcnow()
|
||||||
d1 = today.strftime("%d/%m/%Y")
|
d1 = now.strftime("%d/%m/%Y %H:%M:%S")
|
||||||
stats = stats + "\n Last Updated on " + d1
|
stats = stats + "\n Last Updated on " + d1 + " UTC"
|
||||||
|
|
||||||
return stats
|
return stats
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user