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

Fix sys panic #12846

Merged
merged 2 commits into from
May 15, 2024
Merged

Fix sys panic #12846

merged 2 commits into from
May 15, 2024

Conversation

IanManske
Copy link
Member

@IanManske IanManske commented May 12, 2024

Description

This should fix #10155 where the sys command can panic due to date math in certain cases / on certain systems.

User-Facing Changes

The boot_time column now has a date value instead of a formatted date string. This is technically a breaking change.

@IanManske IanManske added pr:breaking-change This PR implies a change affecting users and has to be noted in the release notes pr:bugfix This PR fixes some bug pr:commands This PR changes our commands in some way labels May 12, 2024
Copy link
Collaborator

@WindSoilder WindSoilder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! looks good to me

@WindSoilder WindSoilder merged commit 0cfbdc9 into nushell:main May 15, 2024
15 checks passed
@hustcer hustcer added this to the v0.94.0 milestone May 15, 2024
FilipAndersson245 pushed a commit to FilipAndersson245/nushell that referenced this pull request May 18, 2024
# Description
This should fix nushell#10155 where the `sys` command can panic due to date
math in certain cases / on certain systems.

# User-Facing Changes
The `boot_time` column now has a date value instead of a formatted date
string. This is technically a breaking change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:breaking-change This PR implies a change affecting users and has to be noted in the release notes pr:bugfix This PR fixes some bug pr:commands This PR changes our commands in some way
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sys panics
3 participants