Skip to content

Commit e08e10d

Browse files
fix: make datetime timezone aware in ado show summary (#139)
fix: timezone
1 parent 33e6424 commit e08e10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchestrator/cli/resources/discovery_space/show_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def show_discovery_space_summary(parameters: AdoShowSummaryCommandParameters):
7070
)
7171
else:
7272
autogenerated_name = pathlib.Path(
73-
f"space_summary_{datetime.datetime.now(datetime.UTC).timestamp()}.csv"
73+
f"space_summary_{datetime.datetime.now(datetime.timezone.utc).timestamp()}.csv"
7474
)
7575

7676
if parameters.output_format == AdoShowSummarySupportedOutputFormats.MARKDOWN:

0 commit comments

Comments
 (0)