Added dates to pouchdb views