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

whether the scalar Date can't config format in yml #158

Open
weiraneve opened this issue Mar 20, 2023 · 3 comments
Open

whether the scalar Date can't config format in yml #158

weiraneve opened this issue Mar 20, 2023 · 3 comments

Comments

@weiraneve
Copy link

I want to config the yml for that, but it can't go into effect.

graphql:
  servlet:
    mapping: /graphql
  datetime:
    scalars:
      date:
        scalar-name: MyDate
        format: yyyy-MM-dd HH:mm:ss
@donbeave
Copy link
Collaborator

@weiraneve
Copy link
Author

Sorry, I want to describe that the case datetime.date.format isn't working.

@weiraneve
Copy link
Author

I have a mysql datetime data like that yyyy-MM-dd HH:mm:ss, what scalar and format should I choose?

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

2 participants