Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
Description
In the refactor function section of the page, http://docs.mongodb.org/manual/use-cases/hierarchical-aggregation/#refactor-map-functions , the second parameter of mapf_year's javascript new Date construction part should be 0 not 1, for javascript month range is 0-11. The attachement is the screenshot about the section.