Skip to content

[Serializer] Support specifying format for DateTimeNormalizer::denormalize #20217

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

Merged
merged 1 commit into from
Oct 17, 2016

Conversation

teohhanhui
Copy link
Contributor

@teohhanhui teohhanhui commented Oct 14, 2016

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT
Doc PR symfony/symfony-docs#7063

@dunglas
Copy link
Member

dunglas commented Oct 14, 2016

👍, can you also open a doc PR?

@teohhanhui
Copy link
Contributor Author

I forgot to add test for invalid cases.

@teohhanhui
Copy link
Contributor Author

can you also open a doc PR?

Where should I add it? I see that the DateTimeNormalizer is mentioned in the Normalizers section.

/cc @weaverryan

@xabbuh
Copy link
Member

xabbuh commented Oct 14, 2016

@teohhanhui I think your addition would fit there quite well (as long as there is no dedicated chapter about all the normalizers we have)

@teohhanhui
Copy link
Contributor Author

Documentation added.

@teohhanhui teohhanhui force-pushed the denormalize-datetime-format branch from 54d7b75 to a72d997 Compare October 17, 2016 08:04
@teohhanhui
Copy link
Contributor Author

Test case added for denormalize format mismatch.

@teohhanhui teohhanhui force-pushed the denormalize-datetime-format branch from a72d997 to ff23924 Compare October 17, 2016 08:06
@fabpot
Copy link
Member

fabpot commented Oct 17, 2016

Thank you @teohhanhui.

@fabpot fabpot merged commit ff23924 into symfony:master Oct 17, 2016
fabpot added a commit that referenced this pull request Oct 17, 2016
…malizer::denormalize (teohhanhui)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[Serializer] Support specifying format for DateTimeNormalizer::denormalize

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | symfony/symfony-docs#7063

Commits
-------

ff23924 [Serializer] Support specifying format for DateTimeNormalizer::denormalize
@teohhanhui teohhanhui deleted the denormalize-datetime-format branch October 18, 2016 04:15
@fabpot fabpot mentioned this pull request Oct 27, 2016
wouterj added a commit to symfony/symfony-docs that referenced this pull request Nov 10, 2016
…alizer::denormalize (teohhanhui)

This PR was merged into the master branch.

Discussion
----------

[Serializer] Support specifying format for DateTimeNormalizer::denormalize

Waiting for symfony/symfony#20217 to be merged.

Commits
-------

57bf969 [Serializer] Support specifying format for DateTimeNormalizer::denormalize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants