From f178e6b9cb534a7dc54afe9c8c527391280319c9 Mon Sep 17 00:00:00 2001 From: Kane York Date: Tue, 22 Sep 2020 17:17:45 -0700 Subject: feat(u/riking/fish): add ddate Change-Id: I0ec5b8937d9cecce05a89c7c69ff40ab053dc644 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1995 Reviewed-by: kanepyork Tested-by: BuildkiteCI --- users/riking/dotfiles/fish/functions/ddate.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 users/riking/dotfiles/fish/functions/ddate.fish (limited to 'users/riking/dotfiles') diff --git a/users/riking/dotfiles/fish/functions/ddate.fish b/users/riking/dotfiles/fish/functions/ddate.fish new file mode 100644 index 000000000000..8152d31680e7 --- /dev/null +++ b/users/riking/dotfiles/fish/functions/ddate.fish @@ -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 -- cgit 1.4.1