fix get_closevalve_datetime get wrong result issue