make empty date generation a little smarter