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:
Kane York 2020-09-22 17:17:45 -07:00 committed by kanepyork
parent 10b14cba54
commit f178e6b9cb

View 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