some fixes for RandomDateTime