Skip to content

Commit 6bf5410

Browse files
authored
[Internal] Fix datetime.timezone.UTC -> utc (#4438)
## Changes <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [ ] `make test` run locally - [ ] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] using Go SDK - [ ] using TF Plugin Framework
1 parent 7db2930 commit 6bf5410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def push_changes() -> None:
304304

305305
# Create the release metadata file
306306
file_name = os.path.join(os.getcwd(), ".release_metadata.json")
307-
metadata = {"timestamp": datetime.now(tz=timezone.UTC).strftime("%Y-%m-%d %H:%M:%S%Z")}
307+
metadata = {"timestamp": datetime.now(tz=timezone.utc).strftime("%Y-%m-%d %H:%M:%S%Z")}
308308
with open(file_name, "w") as f:
309309
json.dump(metadata, f, indent=4)
310310

0 commit comments

Comments
 (0)