Summary: | app-portage/elogviewer doesn't sort the entries by year | ||
---|---|---|---|
Product: | Portage Development | Reporter: | ekz <ekz999> |
Component: | Third-Party Tools | Assignee: | Christian Faulhammer (RETIRED) <fauli> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Mathias.Laurin+gentoo, tools-portage |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Bad-Sorted entries
Separation of localized tstamp display from the sort key |
Description
ekz
2008-01-23 21:08:07 UTC
Created attachment 141677 [details]
Bad-Sorted entries
adding author...Mathias, please have a look. Created attachment 141684 [details, diff]
Separation of localized tstamp display from the sort key
I think that the solution is something like this: show the LC_TIME formatted timestamp but sort by the YYYY-MM-DD hh:mm:ss formatted version.
I may have made a slight mistake somewhere in there, but with this modification the sorting works with fi_FI, ja_JP, en_US and POSIX locales as expected.
(In reply to comment #3) > Created an attachment (id=141684) [edit] The patch works OK, thanks (In reply to comment #4) > (In reply to comment #3) > > Created an attachment (id=141684) [edit] > > The patch works OK, thanks From me, too. :) My Python skills are somewhat crippled, so if you are bored, Jouni, you can have a look at bug 195429, which bothers me a bit. Committed as -r1. Thanks everyone. |