Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON dates should be ISO 8601 format strings #12

Open
mikewse opened this issue May 2, 2019 · 0 comments
Open

JSON dates should be ISO 8601 format strings #12

mikewse opened this issue May 2, 2019 · 0 comments

Comments

@mikewse
Copy link
Contributor

mikewse commented May 2, 2019

From mailing list:

When I fetch something which has a Date member then the json contains something like
{
"currentSeason": "N",
"openStatus": "O",
"seasonEndDate": new Date(1543536000000),
"seasonId": 14,
"seasonStartDate": new Date(1512086400000),
},

JSON dates should instead be formated to ISO 8601 strings such as:
2012-04-23T18:25:43.511Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant