We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I try to achieve 'Y-m-d' (without time, that string I get from external soap source) date format from serialize and deserialize.
/** * @ORM\Column(type="date_immutable") * @JMS\Type("DateTimeImmutable<'Y-m-d','','Y-m-d'>") * */ private $startDate;
This generates error:
Unexpected token "'" (_apostrophe) at line 1 and column 28: DateTimeImmutable<'Y-m-d','','Y-m-d'>
With DateTime is the same.
DateTime
The text was updated successfully, but these errors were encountered:
see schmittjoh/serializer#1019
Sorry, something went wrong.
This bug was introduced in serializer v2.0
fixed in schmittjoh/serializer#1019
No branches or pull requests
Hello,
I try to achieve 'Y-m-d' (without time, that string I get from external soap source) date format from serialize and deserialize.
This generates error:
With
DateTime
is the same.The text was updated successfully, but these errors were encountered: