Skip to content

InstantPatternParser trims the input pattern #227

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

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
Milestone

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants