Skip to content

Commit 32b9659

Browse files
committed
test changelog hook
1 parent b99aeb2 commit 32b9659

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.githooks/fill-changelog-metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
import yaml
33
import subprocess
4-
from datetime import datetime
4+
from datetime import datetime, timezone
55
from pathlib import Path
66

77

@@ -39,7 +39,7 @@ def main():
3939
return
4040

4141
modified = False
42-
today = datetime.utcnow().strftime('%Y-%m-%d %H:%M UTC')
42+
today = datetime.now(timezone.utc).strftime('%Y-%m-%d %H:%M UTC')
4343
author = get_git_username()
4444

4545
for entry in changelog['changelog']:

perf-changelog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
changelog:
22
- config-key: dsr1-fp8-h200-trt
33
description: Test change abc
4-
date: 2025-12-02 22:18 UTC
4+
date: 2025-12-02 22:19 UTC
55
author: Cam Quilici

0 commit comments

Comments
 (0)