genlop --help --date datestring1 [ --date datestring2] only shows results between datestring1 and datestring2. datestring2 dafaults to "now" if not explicitly set. (e.g. genlop --list --date 3 days ago) I haven't found nothing like this in qlop. Is it my bad? If not I think an option like this could be useful for qlop too.
genlop has the advantage of being perl and having a full date parsing lib. coreutils's date program uses gnulib's large date yacc parser. i don't have easy access to anything like that, and i don't really want to pull in a large dep either. adding an ad-hoc parser shouldn't be too hard though. i'm thinking: (1) support for "<#> <day|week|month|year>[s]" e.g. -d "3 days ago" (2) support for strftime() format where you define the args & values e.g. -d "2015-12-25" (default is %F) e.g. -d "1459101740" (detect a single # as %s) e.g. -d "%d.%m.%Y|25.12.2015" (explicitly define the format string)
and this is released with 0.63 https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=79ae531435cf37e50676c25e794f335a6587c7d3
Thanks!