[
https://issues.apache.org/jira/browse/IGNITE-7225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294811#comment-16294811
]
Ilya Borisov edited comment on IGNITE-7225 at 12/18/17 11:05 AM:
-----------------------------------------------------------------
[~Dmitriyff] please review.
There were two options to go with:
1. Use
[https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/formatToParts|this
method] to programmatically access current locale decimal delimeter.
2. Do a simplified, manual parsing of number conver to locale string.
I chose #2 because it was substantially simplier and did not require big
polyfills.
was (Author: klaster_1):
[~Dmitriyff] please review.
> Web console: improve CSV export
> -------------------------------
>
> Key: IGNITE-7225
> URL: https://issues.apache.org/jira/browse/IGNITE-7225
> Project: Ignite
> Issue Type: Bug
> Components: wizards
> Environment: Browsers with ru and en locales.
> Reporter: Ilya Borisov
> Assignee: Dmitriy Shabalin
>
> *What to do:*
> When exporting to CSV, rely on user's locale and number decimal separator
> symbol to determine what to use as a CSV separator.
> *Motivation:*
> During export to CSV, numbers are formatted depending on user's locale. In
> _non-import mode_, MS Excel requires comma as a decimal separator and
> semicolon as a CSV separator for _ru_ locale and dot/comma respectively for
> _en_. After resolving this issue, CSV export will become more aware of user's
> environment.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)