Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

last: Add support for time-format option #10

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

Nykseli
Copy link
Contributor

@Nykseli Nykseli commented Jan 3, 2024

Cockpit requires the time-format option in last to work properly.

This PR adds support for the time-format option and tries to mimic the original formats as closely as possible.

Related bugzilla about the issue in Cockpit: https://bugzilla.suse.com/show_bug.cgi?id=1218157

@thkukuk
Copy link
Owner

thkukuk commented Jan 8, 2024

Could you please adjust the manual page, too?

@thkukuk
Copy link
Owner

thkukuk commented Jan 8, 2024

The usage output needs to be adjusted, too.

@Nykseli
Copy link
Contributor Author

Nykseli commented Jan 8, 2024

Added a commit adjusting the usage output and the manual page.

@thkukuk thkukuk merged commit 08cc914 into thkukuk:main Jan 8, 2024
2 checks passed
@thkukuk
Copy link
Owner

thkukuk commented Jan 8, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants