Skip to content

I'm facing error when trying to send an InfluxDB float field. #111

@viictoorantonio

Description

@viictoorantonio

I'm facing this error when trying to send an InfluxDB float field..
"only invariant culture is supported in invariant mode of globalization"

In a quick google I found this link talking about the problem, occurring recently with .NET6
https://docs.microsoft.com/en-us/dotnet/core/compatibility/globalization/6.0/culture-creation-invariant-mode

Reviewing the code it's 3 point where it uses "en-US" to get CultureInfo and parse float/double data to string.
If we use InvariantCulture to solve this problem. It's possible?

Version Lib: 0.25.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions