Replace three `git sht` with the proper `git log --format=%h`
[sunny256-utils.git] / u
blob34550de269c46bf7cbc51edee078b9791e221d03
1 #!/bin/sh
3 # u
4 # File ID: c17003b4-5d46-11df-a067-90e6ba3022ac
6 if [ "$1" = "-L" ]; then
7 date -u +"%Y-%m-%dT%H:%M:%SZ" | tr -d '\n'
8 else
9 date -u +"%Y%m%dT%H%M%SZ" | tr -d '\n'