datapusher-plus icon indicating copy to clipboard operation
datapusher-plus copied to clipboard

Does not handle locale

Open GordianDziwis opened this issue 1 year ago • 0 comments

When pushing a file with german locale (Uses , instead of . for decimal point). Numbers are parsed as Text.

"Kennziffer","Einheit","12.06.1994","13.06.1999","13.06.2004","07.06.2009","25.05.2014","26.05.2019"
"Wahlbeteiligung","%","57,957","41,84699","39,0107","41,86174","42,6241","61,59743"
"GRÜNE","%","10,16194","4,992445","12,1425","13,09138","12,38852","20,18807"

image

I have set the locale to german in the datapusher-plus Dockerfile:

# Set Locale
RUN locale-gen de_DE.UTF-8 en_US.UTF-8
ENV LANG=de_DE.UTF-8
ENV LANGUAGE=de_DE.UTF-8
ENV LC_ALL=de_DE.UTF-8

GordianDziwis avatar Jul 10 '23 16:07 GordianDziwis