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

DateTime : allow customer format #95

Open
jdeniau opened this issue Oct 10, 2019 · 0 comments
Open

DateTime : allow customer format #95

jdeniau opened this issue Oct 10, 2019 · 0 comments

Comments

@jdeniau
Copy link
Member

jdeniau commented Oct 10, 2019

Today, the datetime serializer format date like this : ->format('c'), but sometimes, the API needs a custom format (SIBIL requires a Java Instant that doesn't accept anything else than Y-m-d\TH:i:s\Z).

Allow the Attribute to have an options parameters, and the datetime should use options.format value if provided

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