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
I use secondsSince1970 to decode and encode date in Coders. In Fluent the createdAt field is of type Date, so that the frontend doesn't have problems I convert it to Double in the schema, and it seems that the standard decoder/encoderdeferredToDate starts to be used, because in the response to the request comes 721570737.092619 instead of 1699877937.092619. I also tried converting to String, same result.
I use
secondsSince1970
to decode and encode date inCoders
. InFluent
thecreatedAt
field is of typeDate
, so that the frontend doesn't have problems I convert it toDouble
in the schema, and it seems that the standarddecoder/encoder
deferredToDate
starts to be used, because in the response to the request comes721570737.092619
instead of1699877937.092619
. I also tried converting toString
, same result.Config coders.decoder.dateDecodingStrategy:
Field in schema:
The text was updated successfully, but these errors were encountered: