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

InstantPatternParser trims the input pattern #227

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Closed

InstantPatternParser trims the input pattern #227

GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Labels
bug
Milestone

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

What steps will reproduce the problem?
1. Create a custom input pattern of " yyyy "
2. Format a the unix epoch

What is the expected output? What do you see instead?

Expected output: " 1970 ".
Actual output: "1970".

We shouldn't be arbitrarily trimming...

Original issue reported on code.google.com by jonathan.skeet on 20 Jul 2013 at 6:35

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

This issue was closed by revision 994bb21452b4.

Original comment by jonathan.skeet on 20 Jul 2013 at 6:51

  • Changed state: Fixed
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

Original comment by malcolm.rowe on 26 Jul 2013 at 10:02

  • Added labels: Milestone-1.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants