touy opened a new issue #1389: View with wrong result, filtering by year month date URL: https://github.com/apache/couchdb/issues/1389 I have create a view to filter data by year , month, day , code as below function (doc) { var d = new Date(doc.gpstime); if (d != null) { var key = [d.getFullYear(),d.getMonth()+1,d.getDate() ]; emit([key,doc.imei], null); } } - couchdb 2.0 and 2.1.1 ( I thought it was about the version then I upgrade from 2.0 to 2.1, but it's not) - nodejs V10 - Centos 6.5 which above code , working perfectly on Windows ( I guessed!) because I download backup from Centos server 6.5 and re insert to couchdb on Windows , above code is to call all data with specific year , month and date, then I would put them in to array for processing , there are processes that I call that function - auto by timer , every 5 minutes - and manually by the way , there are some data from the next date shown, as i queried for 2018,6,14 but there are some data from 2018,6,15 , then I tried to search data on browser with id that shown on 2018,6,14 , and found it is not exist on 2018,6,15 , then I updated that data ( just changed some text value) , then I search on webrowser again on 2018,6,14 then I could not found it there , but I found on 2018,6,14 so this is the solution to fix this issue why it has this strange behavior , the result of view was wrong ? I didn't config any clusters on my server the result on the console right hand side   I query on webbrowser 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
