do not process date if it is not needed.
Merge pull request #372 from minicreche/master

do not process date if it is not needed. #369