tudordumitriu opened a new issue #1295: View MapFunction incorrect date parsing
URL: https://github.com/apache/couchdb/issues/1295
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   Inside a Map Function when trying to parse a date an extra day is added.
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   <!--- If you're suggesting a change/improvement, tell us how it should work 
-->
   
   2018-04-26T14:00:00.000Z | x  
   2018-04-26T14:00:00.000Z | y
   
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected 
behavior -->
   <!--- If suggesting a change/improvement, explain the difference from 
current behavior -->
   2018-04-26T14:00:00.000Z | x  
   2018-04-27T14:00:00.000Z | y
   
   ## Possible Solution
   <!--- Not obligatory, but suggest a fix/reason for the bug, -->
   <!--- or ideas how to implement the addition or change -->
   
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   `   emit(doc.startDateTime, "x");
      var currentDateTime = new Date(doc.startDateTime);
      emit(currentDateTime, "y");`
   1.
   2.
   3.
   4.
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   <!--- Providing context helps us come up with a solution that is most useful 
in the real world -->
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced 
the bug in -->
   * Version used: 2.1.1
   * Browser Name and version:
   * Operating System and version (desktop or mobile): Windows 10
   * Link to your project:
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to