[Jaws_Date]: Fixed php warning if passed not correct data