Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uptimestamp format parsing is confusing yyyyMMddHHmm for a unix timestamp #7288
Labels
Comments
|
Hi, Im interested to help in this issue. Could you show me where to start? |
|
We should probably look for a pure Go library that can do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Relevant telegraf.conf:
System info:
Telegraf 1.11.2 (git: HEAD a80d173)
Steps to reproduce:
telegraf --test --config=/etc/telegraf/<your_conf>.confExpected behavior:
The
timetimestamp is interpreted as yyyyMMddHHmm.e.g.
200601021504forMon Jan 2 15:04:05 -0700 MST 2006as in the Go documentation (https://golang.org/pkg/time/#Parse)Actual behavior:
The
timeis interpreted as a UNIX format and is therefore, invalid as seen in the related log line below.2020-04-05T06:55:51Z E! [inputs.http]: Error in plugin: [url=https://data.geo.admin.ch/ch.meteoschweiz.messwerte-aktuell/VQHA80.csv]: Invalid unix format