Skip to content

Commit 00c6b34

Browse files
committed
Allow CxoTimeLike input to set_time_now()
1 parent 10d3386 commit 00c6b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kadi/commands/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1286,4 +1286,4 @@ def set_time_now(date):
12861286
"""
12871287
from ska_helpers.utils import temp_env_var
12881288

1289-
return temp_env_var("CXOTIME_NOW", date)
1289+
return temp_env_var("CXOTIME_NOW", CxoTime(date).date)

0 commit comments

Comments
 (0)