Export date range

`Date.today` and `Date.new` is fraught! Try `Date.today.to_time_in_current_zone` is better. For all the gory details: <http://www.elabs.se/blog/36-working-with-time-zones-in-ruby-on-rails>