error message is wrong.

date -> boolean