[NOJIRA] restrict the date directive so it only checks the attributes