I am posting this answer in case someone experiences it like me.
What happened to me, I thought I was sending ISOString from the browser
{ startDate: date.startDate }
which in fact I was sending an instance of the moment as a parameter
When I checked with the network inspector, I found out that the data being sent is in ISO format - yes, but it is enclosed in double quotation mark ""
{ startDate: "2016-12-31T16:00:00.000Z" }
it should not be enclosed in double qoutes and should look like this
{ startDate: 2016-12-31T16:00:00.000Z }
what worked for me is to parse the moment onto iso string
{ startDate: date.startDate.toISOString() }
ThisIsMarkSantiago
source share