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

Date and Datetime field types should mention RFC3339 format in field description #161

Closed
jasonbahl opened this issue Jan 24, 2024 · 0 comments · Fixed by #181
Closed

Date and Datetime field types should mention RFC3339 format in field description #161

jasonbahl opened this issue Jan 24, 2024 · 0 comments · Fixed by #181
Assignees
Labels
Status: Actionable Issues that have been curated, have enough info to take action, and are ready to be worked on Type: Enhancement New feature or request

Comments

@jasonbahl
Copy link
Contributor

What problem does this address?

Any ACF Field that is added to the GraphQL Schema should include in the field description that it will return data in the RFC3339 format.

Since dates are returned as String, this will help consumers know what to expect.

What is your proposed solution?

Update the graphql_description for fields of the Date and DateTime field type (and others if I'm missing any)

What alternatives have you considered?

leaving things as is 🤷🏻‍♂️

Additional Context

No response

@jasonbahl jasonbahl added Type: Enhancement New feature or request Status: Actionable Issues that have been curated, have enough info to take action, and are ready to be worked on labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Actionable Issues that have been curated, have enough info to take action, and are ready to be worked on Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant