Skip to content

Use jq's floor to round timestamp #87

Open
@bewuethr

Description

Instead of

.messages.matches[0].ts |
if test("[.]") then
    split(".")[0]
else
    .
end

we should be able to use floor (have to make sure the input is treated as a number, though).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    cosmeticThings that aren't even bugs

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions