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

tpl: Add a delimiter parameter to lang.NumFmt #5271

Merged
merged 2 commits into from
Oct 2, 2018

Conversation

moorereason
Copy link
Contributor

The original implementation of NumFmt did not take into account that the
options delimiter (a space) could be a valid option. Adding a delim
parameter seems like the simplest, safest, and most flexible way to
solve this oversight in a backwards-compatible way.

Fixes #5260

The original implementation of NumFmt did not take into account that the
options delimiter (a space) could be a valid option.  Adding a delim
parameter seems like the simplest, safest, and most flexible way to
solve this oversight in a backwards-compatible way.

Fixes gohugoio#5260
@kaushalmodi
Copy link
Contributor

Can you also update the docs that go along with this PR?

@moorereason
Copy link
Contributor Author

I was waiting to see if this approach would be acceptable. It looks like @bep agrees with your comment, so I'll add docs to this PR. 👍

@bep bep merged commit ce264b9 into gohugoio:master Oct 2, 2018
@moorereason moorereason deleted the iss5260 branch December 17, 2020 18:20
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use space in lang.NumFmt options
3 participants