Remove useless check on invalid date (ref #51)
merge dev with master