Skip to content

Commit

Permalink
fix: Use unix timestamp instead of array of numbers in the project in…
Browse files Browse the repository at this point in the history
…fo file
  • Loading branch information
BlenderDefender committed Nov 11, 2024
1 parent 2c0609b commit 4bc978d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions functions/main_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ def write_project_info(root_path, blend_file_path):
bfiles["other_files"].append(bfiles["main_file"])
bfiles["main_file"] = blend_file_path

ct = time.localtime() # Current time
data["build_date"] = [ct.tm_year, ct.tm_mon,
ct.tm_mday, ct.tm_hour, ct.tm_min, ct.tm_sec]
data["build_date"] = int(time.time())

encode_json(data, project_info_path)

Expand Down

0 comments on commit 4bc978d

Please sign in to comment.