Open andrewpage opened 5 years ago
Just saw that someone else reported a similar issue. Didn't notice it since the issue name wasn't descriptive.
I'm not a Go pro but I can take a crack at fixing this. Are you open to accepting PRs? Perhaps we could support a number of different formats and iterate through them until we find a match? If not, then throw the error.
I noticed this issue when the following command wasn't returning any log events locally:
I dug into the
config/configuration.go
getTime()
func, which looks like its usingtime.Parse
with thetime.RFC3339
format for absolute time values for both start and end timestamps. I plugged similar code into the Go playground, and it looks like this parse format does not support shorthand dates, like were shown in the README example, such as "2018-06-26".