Skip to content

[wishlist] last -p <RFC-3339 TIME> and last -p <ISO-8601 TIME> #34

@YouDirk

Description

@YouDirk

Hello wtmpdb developers =)

in the Debian Mailing list there is currently a hot discussion related to use wtmpdb as an alternative to utmp

I tied it out and reported some issues of your last implementation to the Debian maintainer of the wtmpdb package

[wishlist] last -p <RFC-3339 TIME> and last -p <ISO-8601 TIME>

Related to the report above: Would be nice if <TIME> fully accepts RFC-3339 (and ISO-8601) format. For RFC-3339 the following example should work, which is equivalent to last -p now

$> last -p "$(date --rfc-3339=seconds)"
Invalid time value '2025-04-05 04:26:47+02:00'

Greets,
Dirk =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions