From b7cb8dc7cf7e1bbe7a9d499ebcf36b75b1ea0174 Mon Sep 17 00:00:00 2001 From: tfheen Date: Fri, 20 Jul 2007 10:39:47 +0000 Subject: [PATCH] Add meetingdate function git-svn-id: file:///svn/tfheen/trunk/dotfiles@1037 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- environment | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/environment b/environment index 715f2f4..fb3bbde 100644 --- a/environment +++ b/environment @@ -50,6 +50,13 @@ nod () { vim + ${NOD} } +meetingdate () { + TIME=$1 + TZMEETING=$2 + TZ=${TZ:=$3} + date -d "$(TZ=$TZMEETING date --rfc-822 -d "$TIME")" +} + blog () { pushd $(pwd) if [ ! -d "$HOME/blog" ]; then -- 2.39.5