Fix date formatting

This commit is contained in:
Tom Eastep 2010-09-22 17:41:02 -07:00
parent 6ce1b9c608
commit 1dd93bbb22
4 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ progress_message() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 1 ]; then
timestamp="$(date +'%b %_d %T') "
timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@ -59,7 +59,7 @@ progress_message2() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 0 ]; then
timestamp="$(date +'%b %_d %T') "
timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@ -75,7 +75,7 @@ progress_message3() # $* = Message
fi
if [ $LOG_VERBOSITY -ge 0 ]; then
timestamp="$(date +'%b %_d %T') "
timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}

View File

@ -43,7 +43,7 @@ progress_message() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 1 ]; then
timestamp="$(date +'%b %_d %T') "
timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@ -59,7 +59,7 @@ progress_message2() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 0 ]; then
timestamp="$(date +'%b %_d %T') "
timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@ -75,7 +75,7 @@ progress_message3() # $* = Message
fi
if [ $LOG_VERBOSITY -ge 0 ]; then
timestamp="$(date +'%b %_d %T') "
timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}

View File

@ -1321,7 +1321,7 @@ hits_command() {
option=
;;
t*)
today=$(date +'^%b %_d.*')
today=$(date +'^%b %d.*')
option=${option#t}
;;
*)

View File

@ -1028,7 +1028,7 @@ hits_command() {
option=
;;
t*)
today=$(date +'^%b %_d.*')
today=$(date +'^%b %d.*')
option=${option#t}
;;
*)