Fixing DateRangeValidator for events.
Fixing warning on desktop.
Merge pull request #768 from ngodfraind/agenda-refactoring

Fixing DateRangeValidator for events.