[NOJIRA] restrict the date directive so it only checks the attributes
Merge pull request #543 from christianv/restrictdirective

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