datetime: fix valid?