Make the basic date range selector work
Merge remote-tracking branch 'poine/master'