Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #19531 [Form] DateType fails parsing when midnight is not a valid time#19541

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.7frommbeccati:19531-datetype-fix-27
Aug 13, 2016
Merged

Fix #19531 [Form] DateType fails parsing when midnight is not a valid time#19541

fabpot merged 1 commit intosymfony:2.7frommbeccati:19531-datetype-fix-27
Aug 13, 2016

Conversation

@mbeccati
Copy link
Contributor

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#19531
LicenseMIT
Doc PR

linaori reacted with thumbs up emojiJean85 reacted with heart emoji
@Jean85
Copy link
Contributor

Thanks for fixing this so fast!

Status: reviewed

*/
protectedfunctionisPatternDateOnly()
{
// the default pattern includes time
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this comment is unnecessary?

mbeccati reacted with thumbs up emoji
@mbeccati
Copy link
ContributorAuthor

@javiereguiluz Pushed comment amendments + additional test w/ escaped text

}

// strip escaped text
$pattern =preg_replace("#'(.*?)'#",'',$this->pattern);

Choose a reason for hiding this comment

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

Can you add a test with escaped ICU data?

Choose a reason for hiding this comment

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

oh, it's there, I had to right scroll :)

@nicolas-grekas
Copy link
Member

👍

@fabpot
Copy link
Member

Thank you@mbeccati.

@fabpotfabpot merged commitc951bb6 intosymfony:2.7Aug 13, 2016
fabpot added a commit that referenced this pull requestAug 13, 2016
…not a valid time (mbeccati)This PR was merged into the 2.7 branch.Discussion----------Fix#19531 [Form] DateType fails parsing when midnight is not a valid time| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#19531| License       | MIT| Doc PR        |Commits-------c951bb6Fix#19531 [Form] DateType fails parsing when midnight is not a valid time
This was referencedSep 2, 2016
fabpot added a commit that referenced this pull requestSep 8, 2016
…sformer (mbeccati)This PR was merged into the 2.7 branch.Discussion----------[Form] Incorrect timezone with DateTimeLocalizedStringTransformer| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#19721| License       | MIT| Doc PR        | n.a.Issue was introduced in#19541Commits-------bf6691cFix#19721
@mbeccatimbeccati deleted the 19531-datetype-fix-27 branchSeptember 9, 2016 08:14
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@mbeccati@Jean85@nicolas-grekas@fabpot@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp