Colton Idle
03/12/2023, 6:40 AMdoneDate
which in apollo explorer says it'll be type Date
in format YYYY-MM-DD
and the date does indeed come back as 2022-02-17
Query 2 has addedDate
which in apollo explorer says it'll be in type Date
in format YYYY-MM-DD
and the date comes back as 2023-02-22T20:32:04.000Z
So two different queries... same Date type that's being returned, but two diff formats.
1. This is wrong right? Seems like our backend uses a Date type for two different types.
2. What's the best way to paper over my backend issues at this point? I can write a custom adapter for Date
that knows how to handle both formats?bod
03/12/2023, 7:54 AMColton Idle
03/12/2023, 5:36 PM