Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Show the date when the authors file was generated

Roland Geider69c687d26192
diff --git a/extras/authors/generate_authors_api.py b/extras/authors/generate_authors_api.py
index ba63b40df..4689405f6 100644
--- a/extras/authors/generate_authors_api.py
+++ b/extras/authors/generate_authors_api.py
@@ -1,4 +1,5 @@
# Standard Library
+import datetime
import json
import os
import re
@@ -163,6 +164,8 @@ def generate_authors_file(
with open(filename, 'w') as f:
f.write('# Contributors and translators to this repository\n\n')
f.write('Thank you all for contributing to the project, you are true heroes! 🫶\n\n')
+ f.write(f'*Generated on {datetime.date.today()}*\n\n')
+ f.write('---\n\n')
f.write('## Contributors\n\n')
if contributors: