Skip to content

Commit

Permalink
fix: 统一使用UTC时间
Browse files Browse the repository at this point in the history
之前打包文件名使用本地时间,二进制记录的utc时间。现在统一使用UTC时间
  • Loading branch information
shadow3aaa committed Jan 4, 2025
1 parent cdac164 commit 532ebc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maketools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def task(args):
shutil.copy2(bin, bin_module)
tools.strip(bin_module)

build_time = datetime.now().strftime("%Y-%m-%d-%Hh%Mm%Ss")
build_time = datetime.utcnow().strftime("%Y-%m-%d-%Hh%Mm%Ss")
build_type = "release" if release else "debug"
output = Path("output") / f"fas-rs_{build_type}_{build_time}"

Expand Down

0 comments on commit 532ebc2

Please sign in to comment.