Skip to content

Commit 96b7c76

Browse files
fix: Don't use python311 datetime alias
Does not work for python310, which we need to support. Signed-off-by: Harry Callahan <[email protected]>
1 parent 9f09c8f commit 96b7c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dvsim/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def main() -> None:
850850
args.cfg = os.path.join(proj_root, cfg_path)
851851

852852
# Add timestamp to args that all downstream objects can use.
853-
curr_ts = datetime.datetime.now(datetime.UTC)
853+
curr_ts = datetime.datetime.now(datetime.timezone.utc)
854854
args.timestamp_long = curr_ts.strftime(TS_FORMAT_LONG)
855855
args.timestamp = curr_ts.strftime(TS_FORMAT)
856856

0 commit comments

Comments
 (0)