fish/functions/ms-to-utc.fish @ 745c3f963e84

Add options for handling encodings in `lines`
author Steve Losh <steve@stevelosh.com>
date Fri, 31 Jan 2020 13:03:56 -0500
parents 0a515c6eb4c4
children (none)
function ms-to-utc -d "convert epoch milliseconds to UTC"
    date -ur (echo -n $argv[1] | sed -e 's/...$//')
end