diff --git a/scripts/generate_global_info.py b/scripts/generate_global_info.py index 96b36a6..c8c2082 100644 --- a/scripts/generate_global_info.py +++ b/scripts/generate_global_info.py @@ -1,10 +1,13 @@ import os, json -from datetime import datetime +from datetime import datetime, timedelta def main(): + # I must add 2 hours on gitlab CI + nowongitlab = datetime.now() + timedelta(hours=2) + info = { - "lastupdate": datetime.strftime(datetime.now(), "%d/%m/%Y %X") + "lastupdate": datetime.strftime(nowongitlab, "%d/%m/%Y %X") } save(info)