Skip to content

Commit

Permalink
Fixed Date error
Browse files Browse the repository at this point in the history
  • Loading branch information
anmol098 committed Jun 9, 2021
1 parent fc16ce9 commit 2c04c57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 2c04c57

Please sign in to comment.