create index for dates
Merge branch 'master' of https://github.com/samongoose/watttime