Open WammKD opened 4 years ago
Whoops; forgot to tag you – again –, @alezost.
Hello, and thank you for this report! Sorry, currently I don't have time to look at it. But I hope I will do it soon enough :-)
Hello, I am very sorry that I have not looked at this earlier, and it is probably too late :blush:
But anyway, did you try to use t
instead of bui-list-sort-numerically-3
?
I mean this: (lastUnpacked bui-list-get-time 32 t)
or if you need the right align, then: (lastUnpacked bui-list-get-time 32 t :right-align t)
.
I have a
list
interface with the following:format
:The
lastUnpacked
date is given as seconds.Rendering the data, via
bui-list-get-time
works like a charm; no issues there. But sorting the column goes to Hell. The dates are in, seemingly, a random order or another column is being used to sort things when the third column is told to be sorted because similar names in thename
column end up getting bunched together.If I replace
bui-list-get-time
withnil
, sorting works exactly as I'd expect and the dates are in proper order (though displayed as Epoch seconds instead of being formatted to date/times).I thought maybe that the original numbers weren't being kept and so it was trying to sort Emacs time objects and tried removing
bui-list-sort-numerically-3
but that just resulted in BUI saying it wasn't able to sort the column.