add 2 hours for gitlab ci
This commit is contained in:
parent
d488019218
commit
7b22c4d10d
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue