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

Support signs for number format spec? #88

Closed
anntzer opened this issue Aug 26, 2019 · 0 comments · Fixed by #134
Closed

Support signs for number format spec? #88

anntzer opened this issue Aug 26, 2019 · 0 comments · Fixed by #134

Comments

@anntzer
Copy link
Contributor

anntzer commented Aug 26, 2019

Would it be possible to allow numeric fields to include a sign? e.g. parse.parse("{:+05d}", "+1234"). I realize that parse handles signs just fine without even having to specify the sign, but this request is so that the same string can be used both for parsing and for formatting; in other words, I am suggesting that a leading sign in the field spec just be ignored.

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

Successfully merging a pull request may close this issue.

1 participant