Skip to content

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