yodate -> d
This commit is contained in:
parent
30c0e1b868
commit
1e9f9d0f69
@ -217,7 +217,7 @@ in {
|
|||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
t() { git rev-parse --show-toplevel; }
|
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}
|
source ${./gg.sh}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user