yodate -> d

This commit is contained in:
Motiejus Jakštys 2024-04-22 16:42:51 +03:00
parent 30c0e1b868
commit 1e9f9d0f69

View File

@ -217,7 +217,7 @@ in {
};
initExtra = ''
t() { git rev-parse --show-toplevel; }
yodate() { date --date=@$(echo "$1" | sed -E 's/^[^0-9]*(..........).*/\1/') +"%F %T"; }
d() { date --date=@$(echo "$1" | sed -E 's/^[^0-9]*(.{10}).*/\1/') +"%F %T"; }
source ${./gg.sh}
'';
};