Merge pull request #2 from vivia/master
Added timestamp to author on quotes module.
This commit is contained in:
commit
1e2d74064e
1 changed files with 2 additions and 1 deletions
|
@ -5,8 +5,9 @@ if [ -n "$2" ]; then
|
||||||
OWNER=$1
|
OWNER=$1
|
||||||
LEN=`expr ${#ARGS[*]}`
|
LEN=`expr ${#ARGS[*]}`
|
||||||
QUOTE=${ARGS[@]:1:$LEN}
|
QUOTE=${ARGS[@]:1:$LEN}
|
||||||
|
TIMESTAMP=`date +"%Y-%m-%d %H:%M UTC %z"`
|
||||||
|
|
||||||
echo "${OWNER}" >> shquote.txt
|
echo "${OWNER} ${TIMESTAMP}" >> shquote.txt
|
||||||
echo "${QUOTE}" >> shquote.txt
|
echo "${QUOTE}" >> shquote.txt
|
||||||
#elif [ -n "$1" ]; then
|
#elif [ -n "$1" ]; then
|
||||||
# TODO : quote someone
|
# TODO : quote someone
|
||||||
|
|
Reference in a new issue