Closed mwcondino closed 22 hours ago
Looks like it might have been a bad merge. I don't think this line should be there anymore: https://github.com/foxglove/mcap/blob/28627b721622183e59f7be8032cbf33033558a23/go/cli/mcap/cmd/filter.go#L80-L82
Looks like it might have been a bad merge. I don't think this line should be there anymore:
Yeah I'm not familiar with the changes from the last release, but this blurb from the release notes stuck out to me:
filter: Added --start and --end arguments that accept either nanosecond or RFC3339-formatted log times.
I just tested on v0.0.48
; no issue with that release.
I'm having this issue with v0.0.49 also.
@stewpend0us v0.0.50 fixes this issue.
Thanks for the fix @james-rms!
v0.0.49
Steps To Reproduce
test.mcap
into local directorytar -xzvf ./test.tar.gz
This fails with
configuration error: invalid time range query, end-time is before start-time
and exit code1
.Expected Behavior No issue with this filter, as the given times are valid.
Workaround It appears that using
-E
and-S
works, but requires converting the time into nanoseconds. This is fine for my application. However, I was surprised that-s
and-e
stopped working; on my previous version (v0.0.42), there were no issues with these args.