Skip to content

Commit 650178c

Browse files
jlsnetoCopilot
andauthored
Update cereja/experimental/gitchangelog.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1fa0177 commit 650178c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cereja/experimental/gitchangelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def build_json(branch: str, base: str, commits: List[CommitInfo], files: List[Di
218218
payload = {
219219
"branch": branch,
220220
"base": base,
221-
"generated_at": dt.datetime.utcnow().isoformat() + "Z",
221+
"generated_at": dt.datetime.now(dt.UTC).isoformat().replace("+00:00", "Z"),
222222
"stats": {
223223
"commits": len(commits),
224224
"files_total": len(files),

0 commit comments

Comments
 (0)