Use `set info size:time` with different time format
Is it somehow possible to use the time info in the format 2022-05-14 18:59 instead of May 14 18:59 ?
Thanks and regards john-soda
Found an answer in somebody else lfrc
set infotimefmtnew "2006-01-02 15:04:05"
set infotimefmtold "2006-01-02 15:04:05"
But to have somewhere a link about the possibilities with some examples would be really helpful. Because for me it's still not clear what I can do and what not?
For e.g. if I change in my lfrc the line
set infotimefmtnew "2006-01-02 15:04:05"
to
set infotimefmtnew "2022-07-18 15:04:05"
I get a totally weird timestamp like 181818+02-78
Is this link somehow relevant https://go.dev/src/time/format.go?
Correct, time formatting in lf is done with Go's native time library. So any examples for that would work here https://yourbasic.org/golang/format-parse-string-time-date-example/