Skip to content

Commit 2c04c57

Browse files
authored
Fixed Date error
1 parent fc16ce9 commit 2c04c57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,10 @@ def get_stats(github):
465465
stats += '**' + translate['Timeline'] + '**\n\n'
466466
branch_name = github.get_repo(f'{username}/{username}').default_branch
467467
stats = stats + '![Chart not found](https://raw.githubusercontent.com/' + username + '/' + username + '/' + branch_name + '/charts/bar_graph.png) \n\n'
468-
stats = stats + "\n Last Updated on " + date.today()
468+
today = date.today()
469+
d1 = today.strftime("%d/%m/%Y")
470+
stats = stats + "\n Last Updated on " + d1
471+
469472
return stats
470473

471474

0 commit comments

Comments
 (0)