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

notification-spacex: Bugfix for when there are no upcoming launches #451

Merged
merged 1 commit into from
Oct 7, 2024
Merged

notification-spacex: Bugfix for when there are no upcoming launches #451

merged 1 commit into from
Oct 7, 2024

Conversation

krzys-h
Copy link
Contributor

@krzys-h krzys-h commented Oct 7, 2024

This is a bugfix for my previous PR #449

When there are no upcoming launches, "jq" returns the string "null". Since the old version of the script directly recieved a timestamp, it silently cast it to a number 0 during calculations, but the new version uses the "date" command for parsing an ISO 8601 string, where this errors out instead.

When there are no upcoming launches, "jq" returns the string "null". Since the
old version of the script directly recieved a timestamp, it silently cast it
to a number 0 during calculations, but the new version uses the "date" command
for parsing an ISO 8601 string, where this errors out instead.
@x70b1 x70b1 merged commit 1075a95 into polybar:master Oct 7, 2024
1 check passed
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