fix randomly failing test: we use Time internally, not DateTime