I'm using MongoDB Realm which generates a GraphQL server on top of your data. It only allows primitive types in the resolver return type so I had to return the date as a string.
For some reason my date is coming back in this format 0001-01-01 23:00:00 +0000 UTC
and I cannot parse it with moment.
What is this format called and how am I supposed to fix this? I don't know the name of the format to even find out how to return it correctly.
Any help would be greatly appreciated.
Thanks