Skip to content

Commit

Permalink
changed import
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Sep 24, 2024
1 parent 6a338a1 commit bcdfb97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/profile_generation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import os.path
import csv
from os import path
import datetime
from datetime import datetime


def generate_transformed_profile(
Expand Down Expand Up @@ -331,11 +331,11 @@ def generate_spec_info(g, path_changed_file):
spec_info["version"] = arg.split("/")[-1].split(".json")[0].split("v")[-1]

spec_info["version_date"] = (
str(datetime.now().strftime('%Y%m%d'))
str(datetime.today().strftime('%Y%m%d'))
+ "T"
+ str(datetime.datetime.now().time().hour)
+ str(datetime.datetime.now().time().minute)
+ str(datetime.datetime.now().time().second)
+ str(datetime.now().time().hour)
+ str(datetime.now().time().minute)
+ str(datetime.now().time().second)
)

if "rdfs:subClassOf" in g.keys():
Expand Down

0 comments on commit bcdfb97

Please sign in to comment.