summaryrefslogtreecommitdiff
path: root/dot/local/bin/datel
blob: 4375b4f5b295620d989f4799cc1acb75a7406283 (plain)
1
2
3
#!/bin/bash
date=$(date "$@")
printf '%s\n' "$date" "${date//?/-}"