fn fx fx time format seconds

    0

    0

    lucycodes42

    Shell public recipes

    Shortcut: fx.time.format.seconds

    # Usage: formatSeconds 70 -> 1m 10s
    readarray -t result < <(formatSeconds seconds)
    echo "${${1}[@]}"
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.