Fixed Date error

This commit is contained in:
Anmol Pratap Singh
2021-06-09 17:43:48 +05:30
committed by GitHub
parent fc16ce9448
commit 2c04c57e0e

View File

@@ -465,7 +465,10 @@ def get_stats(github):
stats += '**' + translate['Timeline'] + '**\n\n'
branch_name = github.get_repo(f'{username}/{username}').default_branch
stats = stats + '![Chart not found](https://raw.githubusercontent.com/' + username + '/' + username + '/' + branch_name + '/charts/bar_graph.png) \n\n'
stats = stats + "\n Last Updated on " + date.today()
today = date.today()
d1 = today.strftime("%d/%m/%Y")
stats = stats + "\n Last Updated on " + d1
return stats