feat(u/riking/fish): add ddate
Change-Id: I0ec5b8937d9cecce05a89c7c69ff40ab053dc644 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1995 Reviewed-by: kanepyork <rikingcoding@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
10b14cba54
commit
f178e6b9cb
1 changed files with 3 additions and 0 deletions
3
users/riking/dotfiles/fish/functions/ddate.fish
Normal file
3
users/riking/dotfiles/fish/functions/ddate.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ddate --description 'current date in Discourse format'
|
||||
TZ=UTC date '+[date=%Y-%m-%d time=%H:%M:%S timezone=\"%Z\"]'
|
||||
end
|
Loading…
Reference in a new issue