bpo - 2017-03-10
Date translation $dt

With bash, does not need awk, delimiter independent:

dt=${4:6:4}-${4:3:2}-${4:0:2}



Or switch yad to use ISO 8601 date format ..

--date-format=%F

.. and no translation is necessary:

dt=$4

Should be independent from locale?

 

Last edit: bpo 2017-03-10