Can we pass a "time string" to jq?
echo '"05:30"' | jq -c 'strptime("%H:%M")'
jq -c 'strptime("%H:%M")' <<< '"05:30"'
!! > tmp/strptime.json # <- will use this file in the following commands!
Learning jq through a timesheet app
echo '"05:30"' | jq -c 'strptime("%H:%M")'
jq -c 'strptime("%H:%M")' <<< '"05:30"'
!! > tmp/strptime.json # <- will use this file in the following commands!