Skip to content

Adding globalization for decimal, double and single for conversion.#97

Merged
csantero merged 1 commit into
JSONAPIdotNET:payload2from
cybermats:payload2
Jul 18, 2015
Merged

Adding globalization for decimal, double and single for conversion.#97
csantero merged 1 commit into
JSONAPIdotNET:payload2from
cybermats:payload2

Conversation

@cybermats

Copy link
Copy Markdown

Found a bug for the FilteringTransformer and the Value Converter for Decimals, doubles and singles. In some cultures, such as se-SE, the decimal point is formatted as a comma (,). I don't remember which spec is says so in but I'm pretty sure that URIs and JSON wants non-localized formatting on those.

Added some regression tests that you can test out (without my changes) to see it fail.

csantero added a commit that referenced this pull request Jul 18, 2015
Adding globalization for decimal, double and single for conversion.
@csantero csantero merged commit f0324f5 into JSONAPIdotNET:payload2 Jul 18, 2015
@csantero

Copy link
Copy Markdown
Collaborator

Thanks!

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 this pull request may close these issues.

2 participants