angular-odata-es5
angular-odata-es5 copied to clipboard
Date parameters are quoted
Description Currently, dates can only send as quoted string. That makes it complicated on the backend site, because this values must cleaned from quotes to use it as dates.
My solution Add the below code to the quoteValue method.
if (value instanceof Date) { return `${value.toJSON()}`; }
Additional context If there is nothing that against it, I would like to create a PR.