You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: