Fix dt units in test util function convert_to_target
#8000
+15
−1
Merged