Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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
Nov 10, 2016

Conversation

teohhanhui
Copy link
Contributor

Waiting for symfony/symfony#20217 to be merged.

@xabbuh xabbuh added the On hold label Oct 17, 2016
@xabbuh xabbuh added this to the 3.2 milestone Oct 17, 2016
fabpot added a commit to symfony/symfony 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
@@ -528,6 +528,10 @@ There are several types of normalizers available:
:phpclass:`DateTime` and :phpclass:`DateTimeImmutable`) into strings.
By default it uses the RFC3339_ format.

.. versionadded:: 3.2
Support for specifying datetime format during denormalization was added to
``DateTimeNormalizer`` in Symfony 3.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please indent this complete directive to the same level as the description at line 527 - 529.

@wouterj wouterj removed the On hold label Nov 8, 2016
@wouterj
Copy link
Member

wouterj commented Nov 8, 2016

👍 I've left one minor comment, but we can also fix it during merging.

In the future, we may want to document all available settings and the like.

status: reviewed

@javiereguiluz
Copy link
Member

👍

@wouterj wouterj merged commit 57bf969 into symfony:master Nov 10, 2016
wouterj added a commit 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
wouterj added a commit that referenced this pull request Nov 10, 2016
@wouterj
Copy link
Member

wouterj commented Nov 10, 2016

Thanks @teohhanhui! I've fixed my minor comment in 2083d9d and created an issue to document all these options in #7135

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