I'm porting https://github.com/prometheus/alertmanager to 0.19 and decided to use this nice library! However I noticed that the dates that I'm getting from the backend cannot be parsed.
The actual value coming from Go is 2018-08-31T23:25:16.019345+02:00 that seems to conform with the ISO8601 standard.
I'm porting https://github.com/prometheus/alertmanager to 0.19 and decided to use this nice library! However I noticed that the dates that I'm getting from the backend cannot be parsed.
The actual value coming from Go is
2018-08-31T23:25:16.019345+02:00
that seems to conform with the ISO8601 standard.After googling around I found this article: https://nbsoftsolutions.com/blog/iso-8601-and-nanosecond-precision-across-languages
Even though we may not support such high precisions, I believe that the parser should not fail in this situation.