CorpGlory / csv2influx

A CLI tool for importing CSV files into Influxdb
MIT License
16 stars 6 forks source link

Timezone to config #8

Open jonyrock opened 6 years ago

jonyrock commented 6 years ago

in csv file you might get something like

Date Of Stop, ....
09/24/2013 17:11:00, ....

and I have no clue in which timezone is it.

I would add

"timestamp": {
  "name": "Date Of Stop",
  "timezone": "UTC-5",
   ...
}
jonyrock commented 6 years ago

The thing is that if we have timezine in our csv file value, that we should show error. For example, 2010-01-01 04:01:01GMT-04:00 already has timezone