IFNA() doesn’t work with date format

I have this table :

enter image description here

column F is my data and column H is to check if column F has N/A error. In H1 i use this formula :

ifna(F1,"error")

Seems to work fine. But in the 2nd row when it check the date , it returns wrong output.
How can i fix this ?