fix datetime RunTimeWarning

close #33