housepower / clickhouse_sinker

Easily load data from kafka to ClickHouse
https://housepower.github.io/clickhouse_sinker
Apache License 2.0
515 stars 118 forks source link

When parsing DateTime, should be consider the time-location #108

Closed intfish123 closed 3 years ago

intfish123 commented 3 years ago

var loc, _ = time.LoadLocation("Local") t, _ := time.ParseInLocation(c.tsLayout[0], val, loc)

yuzhichang commented 3 years ago

Fixed by master 4c13aa0a311ea3ccb2747712631930b06076eb0a.