From a1e8733bcbf0bbb72e370ffc65c81ac9dc638e50 Mon Sep 17 00:00:00 2001 From: c0by85 Date: Sun, 15 Jan 2023 16:57:34 +0100 Subject: [PATCH] Add option to set decimal character for csv import Add option to set decimal character for csv import. Adopting the option from wd-example.conf. https://groups.google.com/g/weewx-user/c/QV4UKRnR9v0 --- util/import/csv-example.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/util/import/csv-example.conf b/util/import/csv-example.conf index 311d6f91..88e5101f 100644 --- a/util/import/csv-example.conf +++ b/util/import/csv-example.conf @@ -27,6 +27,14 @@ source = CSV # delimiter = # Default is , (comma). delimiter = , + + # Specify the character used as the decimal point. The character + # must be enclosed in quotes. + # Format is: + # decimal = '.' (dot) + # or + # decimal = ',' (comma) + decimal = '.' # If there is no mapped interval field how will the interval field be # determined for the imported records. Available options are: