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 field value incorrect #10

Open
maikusch opened this issue Nov 7, 2023 · 0 comments
Open

Date field value incorrect #10

maikusch opened this issue Nov 7, 2023 · 0 comments

Comments

@maikusch
Copy link

maikusch commented Nov 7, 2023

I think i found an issue on date fields

My form has a field of t type date.
this renders an input with type="date".

default behaviour is, that the 'value' is always in format Y-m-d.
so, if i type a german date like 05.04.1984 the value is set to 1984-04-05.

If i debug the ext:form request the value is correct set to 1984-04-05.
but, the brevo finisher, ignores this and the value is like typed in 05.04.1984.

the brevo API only accepts dates in the format Y-m-d. so the API is always responding with a 400 "invalid date format" message.

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