Control: tags -1 confirmed upstream patch Control: forwarded -1 https://github.com/thkukuk/wtmpdb/pull/30
Hi Dirk, Thank you for this bug report! On Sat, Apr 05, 2025 at 04:53:47AM +0200, Dirk Lehmann wrote: > the argument `last -t <TIME>` seems not to be implemented yet. Here > an example: > > ``` > $> wtmpdb last --since '2025-04-05 00:27:00' --until '2025-04-05 00:28:00' > dirk tty7 :0 Sat Apr 5 01:27 - 01:48 (00:20) > lightdm tty7 :0 Sat Apr 5 01:27 - 01:27 (00:00) > reboot system boot 6.12.20-amd64 Sat Apr 5 01:27 - still running > > wtmpdb begins Fri Apr 4 19:01:21 2025 > > $> wtmpdb last --since '2025-04-05 00:27:00' -t '2025-04-05 00:28:00' > Usage: wtmpdb [command] [options] > Commands: last, boot, boottime, rotate, shutdown, import > > Options for last: > [...] > -s, --since TIME Display who was logged in after TIME > -t, --until TIME Display who was logged in until TIME > [...] > ``` I have proposed a patch upstream to fix wtmpdb's handling for the 'last -t' short option: https://github.com/thkukuk/wtmpdb/pull/30
signature.asc
Description: PGP signature