sot / mica

Microscope on Chandra aspect
https://sot.github.io/mica
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Use CxoTime and fix time range for update #271

Closed jeanconn closed 2 years ago

jeanconn commented 2 years ago

Description

Use CxoTime instead of DateTime and fix update() in mica.report. As of kadi 5.9.1 get_states called in update() cannot take "-7" as a relative time from now.

Interface impacts

None

Testing

Unit tests

Independent check of unit tests by @taldcroft

Functional tests

I manually confirmed that the CxoTime calls give equivalent output to the DateTime calls.