tvl-depot/users/riking/dotfiles/fish/functions/ddate.fish
Kane York f178e6b9cb 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
2020-09-23 00:22:12 +00:00

3 lines
133 B
Fish

function ddate --description 'current date in Discourse format'
TZ=UTC date '+[date=%Y-%m-%d time=%H:%M:%S timezone=\"%Z\"]'
end