Panic: No such local time #529
Labels
Comments
|
it should be caused by the invalid time format here: Line 11 in 48210f3 we could check the time before converting it into the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


lsd --version: lsd 0.20.1echo $TERM: xterm-kittyecho $LS_COLORS: quite long and hopefully not relevantExpected behavior
I have an Onyx Boox ereader which I'm mounting via jmtpfs - looking at how old that project is I probably should switch to something else, but alas...
For some reason, this results in files apparently created in the year 4437052:
I'd expect
lsdto show the file in the same way, or perhaps just show an "invalid time" or something.Actual behavior
lsd crashes with
thread 'main' panicked at 'No such local time', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.15/src/offset/mod.rs:173:34.Stack:
The text was updated successfully, but these errors were encountered: