restore correct behavior of DateTime